PDA

View Full Version : Table with equally sized collums


JAVAEOC
07-26-2005, 03:50 PM
I how can I get my table to have two collums that have the exact same width, and the whole talbe should be 100% wide

thanks

Jemmie
07-26-2005, 04:03 PM
<table width="100%">
<tr><td width="50%">

</td>
<td width="50%">

</td></tr>
</table>

It's been such a long time since I've used tables though, it might not be the best way of doing it.

JAVAEOC
07-26-2005, 04:58 PM
I tried that, in the CSS I set all tds to 50% like so

td{width: 50%;}

but it didnt work :(