how to make this with LIST?

liunx

Guest
i have this html:


<table border='' cellspacing='0' cellpadding='3' style="width: 100%; color: black;">
<tr style="background-color: #CAE6FE">
<td style="width: 5%">Choose</td>
<td>Name</td>
<td>City</td>
<td>Zip</td>
</tr>
<tr align="center" >
<td align="center"><input type="radio" name="id"/></td>
<td align="left"><a href='http://www.webdeveloper.com/forum/archive/index.php/#'>namenamename</a></td>
<td align="left"><a href='http://www.webdeveloper.com/forum/archive/index.php/#'>klok</a></td>
<td align="left"><a href='http://www.webdeveloper.com/forum/archive/index.php/#'>85002</a></td>
</tr>
<tr align="center" style='background-color: #E3E3E3'>
<td align="center"><input type="radio" name="id"/></td>
<td align="left"><a href='http://www.webdeveloper.com/forum/archive/index.php/#'>blahblahblahblah</a></td>
<td align="left"><a href='http://www.webdeveloper.com/forum/archive/index.php/#'>lipol</a></td>
<td align="left"><a href='http://www.webdeveloper.com/forum/archive/index.php/#'>80028</a></td>
</tr>
<tr align="center" >
<td align="center"><input type="radio" name="id"/></td>
<td align="left"><a href='http://www.webdeveloper.com/forum/archive/index.php/#'>namenamename</a></td>
<td align="left"><a href='http://www.webdeveloper.com/forum/archive/index.php/#'>klok</a></td>
<td align="left"><a href='http://www.webdeveloper.com/forum/archive/index.php/#'>85002</a></td>
</tr>
</table>


is it possible to do it with LISTS?
say every row is a UL?Can you maybe explain why you want to specifically use <ul> lists. how would you like to present the table information? The only reason I can think of is maybe the table borders bother you.

D Brinkhey djbrink.. no offence but you should look into the new standarts.
<table> is dead !!<ul>
<li>Name<input type="radio" name="id"/></li>
<li>City<a href=http://www.webdeveloper.com/forum/archive/index.php/"linkhere.html">balaaha</a></li>
<li>Zip</li>
</ul>

I think this is what your looking forhey djbrink.. no offence but you should look into the new standarts.
<table> is dead !!No offence but you're presenting tabular data and a table is the right way to do it. The main thing I see semantically wrong with what you have is the first row is header info so it should have <th> cells instead of <td> cells.well for fun I made this code....
There is 1 bug that I know of... or 1?hehe

(1: the Name field doesn纾
 
Back
Top