PDA

View Full Version : Tables are bad


up4dw
10-07-2008, 06:18 PM
OK tables are bad. At least that seems to be the consensus. I am at a point where I need to start making a lot of tables or learn how to make css to the same thing. Here is a little table I have been repeating. How would I go about using css instead?
http://www.hardydiesel.com/diesel-generators-7-33-kw.html

<table width="652" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="247"><img src="assets/images/7-33-kw-diesel-generators/isuzu-10-kw-diesel-generator-300.jpg" alt="10kw Isuzu" width="239" height="216" /></td>
<td width="405" valign="top"><table width="405" height="202" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="41" colspan="2">Isuzu Powered 7 kW Diesel generator<br></td>
</tr>
<tr>
<td width="264" valign="top">Reliable prime power Diesel generator smooth running three cylinder Isuzu Diesel engine with three year 3000 hour bumper to bumper warranty. Sutabe for home or business </td>
<td width="141" valign="top"><p align="right" class="style3">Free Shipping</p>
<p align="right">&nbsp;</p></td>
</tr>
<tr>
<td valign="top">Item.........0011979</td>
<td><div align="right" class="style2">Price...... $5250</div></td>
</tr>
</table></td>
</tr>
</table>

Corrosive
10-07-2008, 06:22 PM
OK tables are bad.

Not 'bad' as such just widely used in the wrong way. You need to go and read some CSS stuff, from the top. Read my 'sticky' at the top of this forum for some useful links.