...

View Full Version : Table Sizing Issue



MrEnder
05-25-2012, 04:21 AM
Okay I have a table with 4 rows
The bottom 3 rows need to be narrower then the top row
How do I do this in CSS?

<table id="mainTable">
<tr>
<td id="header1">
<img id="banner" src="images/banner.png" alt="Banner"/>
</td>
</tr>
<tr>
<td id="header2">

<a class="headerButtons" href="index.html">Home</a>

</td>
</tr>
<tr>
<td id="body1">
2
</td>
</tr>
<tr>
<td id="footer1">
3
</td>
</tr>
</table>

nibbrwebdevelop
05-25-2012, 06:56 AM
Okay I have a table with 4 rows
The bottom 3 rows need to be narrower then the top row
How do I do this in CSS?

<table id="mainTable">
<tr>
<td id="header1">
<img id="banner" src="images/banner.png" alt="Banner"/>
</td>
</tr>
<tr>
<td id="header2">

<a class="headerButtons" href="index.html">Home</a>

</td>
</tr>
<tr>
<td id="body1">
2
</td>
</tr>
<tr>
<td id="footer1">
3
</td>
</tr>
</table>

dont use tables! lol

MrEnder
05-25-2012, 07:25 AM
If I dont use tables then what do I use 0.0
oh and what I needed what colspan
but I have run into a new issue



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum