PDA

View Full Version : Is this possible in 1 table


Grassman
05-01-2007, 08:27 PM
<table border=1 width="100%" height="130">
<tr>
<td align=center> </td>
</tr>
</table>
<table border=1 height="100%" width=130>
<tr>
<td>
</td>
</tr>
</table>

As you can see its 2 boxes, one 100% width and the other 100% height
I would like to accomplish 2 cells in 1 table with what you view.

thanks

koyama
05-01-2007, 10:36 PM
Hmm... Not sure what you are trying to achieve. If the second table occupies 100% of the height of the viewport then it would overlap the first one? Maybe you can elaborate a bit? Or attach an image that describes what you want.

felgall
05-01-2007, 10:50 PM
Based on the posted code it would be better achieved by two divs and setting their sizes in the stylesheet.