Page 1 of 1

Table Width question

Posted: Wed Mar 07, 2007 5:10 pm
by iknownothing
Hey Guys,
I've started using CSS and DIV's over tables lately, but a good ol' fashioned Outlook Stationery has insisted I use Tables for it to work correctly. The reason for the post is that I have 3 columns of table cells I want the leftmost one to be left aligned, the rightmost one right aligned, and the middle one to be all of the remaining width, any ideas?

Thanks

Posted: Wed Mar 07, 2007 6:02 pm
by alex.barylski

Code: Select all

<table width="100%">
  <td></td>
  <td width="100%"></td>
  <td align="right"></td>
</table>

Posted: Wed Mar 07, 2007 6:04 pm
by iknownothing
yeah, did that, but Outlook doesnt like it very much, you would think that, if nothing else at least Outlook would be the same as IE...

Posted: Wed Mar 07, 2007 6:11 pm
by RobertGonzalez
Columns will go as wide as they need to, unless you specify an exact width. Can you tell the widths for the columns to be a set value?

Posted: Wed Mar 07, 2007 6:18 pm
by iknownothing
yeah, ive got the 2 outer's set as there exact pixel size, and got the total width set at 100%, but its just weird and unexplainable.. comes up fine in IE...

Posted: Wed Mar 07, 2007 7:03 pm
by RobertGonzalez
Post your table markup. Maybe there is something in the code that can be looked at.