<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hmmm... I have the following logic in a module's hook_view() creating a table out of programmatically generated information:<div><br></div><div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 12px;">&nbsp;&nbsp;$header = &nbsp;array(t($node-&gt;title), t('Values:'));</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 12px;">&nbsp;&nbsp;$rows = array(array('&lt;strong&gt;Project status:&lt;/strong&gt;', $statusMarkup),&nbsp;</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 12px;">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;array('&lt;strong&gt;Notes:&lt;/strong&gt;', &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$node-&gt;content['body']['#value']),</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 12px;">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;array('&lt;strong&gt;Images:&lt;/strong&gt;', &nbsp; &nbsp; &nbsp; &nbsp; $imagesMarkup),</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 12px;">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;array('&lt;strong&gt;Image Tags:&lt;/strong&gt;', &nbsp; &nbsp; $imageTagMarkup),</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 12px;">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;array('&lt;strong&gt;Reconstructions:&lt;/strong&gt;',$reconsMarkup),</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 12px;">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;array('&lt;strong&gt;Actions:&lt;/strong&gt;', &nbsp; &nbsp; &nbsp; &nbsp;$actionsMarkup));</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 12px;">&nbsp;&nbsp;$table = theme('table', $header, $rows, array('style' =&gt; 'width: 770px', 'class' =&gt; 'form-item'));</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 12px;">&nbsp;&nbsp;$node-&gt;content['body']['#value'] = $table;</span></font></div><div><br class="webkit-block-placeholder"></div><div>
<span class="Apple-style-span" style="font-family: Helvetica; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div>Notice that portion where I declare the width of the table to only be 770px? That is being ignored... I've tried variations like:</div><div><br></div><div>array( 'width' =&gt; '770px', ...) [note not 'style' here] and array( 'style' =&gt; 'width: 77px;', ...) [note added semicolon here]</div><div><br></div><div>When I don't use the 'style' attribute, the sticky-header gets a style setting with the width set to '877.617px;',&nbsp;so it looks like the 'style' usage is what I need, but I'm not finding the magic combination...</div><div><br></div><div>any advice?&nbsp;</div><div><br class="Apple-interchange-newline">Sincerely,</div><div>-Blake</div><div><br></div></span></span></div></span></div></div></body></html>