How to clean up messy table code
Posted: Thu Oct 25, 2007 6:06 pm
Thank you for reading,
I'm working on moving a site into cmsms. This old site has lots of tables with messy code. Here is an example:
I'm going to do the formating with CSS so I need nice clean code like this:
I'm currently deleting the messy code by hand, very time consuming anyone have suggestions on how I can do this in a more productive manner, without having to retype the data in each row?
Thank you,
TJ
I'm working on moving a site into cmsms. This old site has lots of tables with messy code. Here is an example:
Code: Select all
<tr>
<td valign="top" width="60">
<div align="left"><font size="4"><strong>0.52</strong></font></div>
</td>
<td valign="top" width="360">
<div align="left"><font size="4"><strong>Building lot on Ninilchik Drive.</strong></font></div>
</td>
<td valign="top" width="72">
<div align="left"><font size="4"><strong>$7,000</strong></font></div>
</td>
<td valign="top" width="120">
<div align="left"><strong><a href=""><span><font size="4">07-15674</font></span></a></strong></div>
</td>
</tr>
Code: Select all
<tr>
<td>0.42</td>
<td>Res. Building lot on Alaik Drive.</td>
<td>$30,000</td>
<td><a href="">SOLD</td>
</tr>
Thank you,
TJ