|
|
| victorcorey 2006-02-12, 6:37 pm |
| I am trying to layout a page with 2 columns and 4 rows containing 1 rowspan and
1 colspan. I am having a problem with the rowspan. Row 1 will have 2 columns.
Row 2/3 should have column 1 rowspan 2 and column 2 with rows 2 and 3. Then row
4 has a colspan 2.
The problem I am having is as the height of the rowspan in column 1 grows so
does the height of row 2 and then pushes row 3 down. I need it to be as the
rowspan height grows row 2 stays the same and row 3 grows with it.
CODE SAMPLE
<table width="100%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td width="155">HEADER 1</td>
<td>HEADER 2</td>
</tr>
<tr>
<td width="155" rowspan="2"><p>LEFT NAV</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p></td>
<td>HEADER 3</td>
</tr>
<tr>
<td>BODY</td>
</tr>
<tr>
<td colspan="2">FOOTER</td>
</tr>
</table>
| |
| byardaj 2006-02-12, 6:39 pm |
| Is that the same as saying you want HEADER 3 to be a fixed height and you want BODY to grow to fill the space?
Something like:
<td height="20">HEADER 3</td>
Andy
| |
| victorcorey 2006-02-12, 6:39 pm |
| Yes, but that doesn't seem to work. I thought it would be that simple.
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |