PDA

View Full Version : What the basic structure would be if trying to replicate this with css



niguangxingzou
Mar 19th, 2010, 05:00 AM
hello,

i would like to make a very simple centred table with 3 colums and 6 rows. if using tables it would look something like this:

<table width="595" border="4" align="center" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#000000">&nbsp;</td>
<td bgcolor="#000000">&nbsp;</td>
<td bgcolor="#000000">&nbsp;</td>
</tr>
<tr>
<td bgcolor="#000000">&nbsp;</td>
<td bgcolor="#000000">&nbsp;</td>
<td bgcolor="#000000">&nbsp;</td>
</tr>
<tr>
<td bgcolor="#000000">&nbsp;</td>
<td bgcolor="#000000">&nbsp;</td>
<td bgcolor="#000000">&nbsp;</td>
</tr>
<tr>
<td bgcolor="#000000">&nbsp;</td>
<td bgcolor="#000000">&nbsp;</td>
<td bgcolor="#000000">&nbsp;</td>
</tr>
<tr>
<td bgcolor="#000000">&nbsp;</td>
<td bgcolor="#000000">&nbsp;</td>
<td bgcolor="#000000">&nbsp;</td>
</tr>
<tr>
<td bgcolor="#000000">&nbsp;</td>
<td bgcolor="#000000">&nbsp;</td>
<td bgcolor="#000000">&nbsp;</td>
</tr>
</table>


thank you very much!

bazz
Mar 19th, 2010, 05:37 AM
<div id='left_div'>Content</div>
<div id='middle_div'>More content</div>
<div id='right_div'>and even more</div>


then each item in each div could be in a 'list' or a 'definition list' depending on the content



<ul>
<li></li>
<li></li>
<li></li>
</ul>


bazz