View Single Post
Old 01-22-2010, 05:52 PM  
CodeR70
Confirmed User
 
CodeR70's Avatar
 
Join Date: Jul 2009
Location: Netherlands
Posts: 364
It is centered vertically, that is what you want right?

The other problem is that all table rows have one cell but now the banner/content row has 2 cells. ie

Code:
...
<tr><td>blah blah</td></tr>
<tr><td>BANNER</td><td>CONTENT</td></tr>
<tr><td>blah blah</td></tr>
...
solution 1: give all rows the same amount of cells

Code:
...
<tr><td>&nbsp;</td><td>blah blah</td></tr>
<tr><td>BANNER</td><td>CONTENT</td></tr>
<tr><td>blah blah</td></tr>
<tr><td>&nbsp;</td><td>blah blah</td></tr>
...
solution 2: set colspan for single cell rows

Code:
...
<tr><td colspan="2">blah blah</td></tr>
<tr><td>BANNER</td><td>CONTENT</td></tr>
<tr><td colspan="2">blah blah</td></tr>
...
Obviously, the style/valign still applies to the banner cell.

Hope this helps
CodeR70 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook