We are trying to minimize the number of images we use on our web site, to improve performance. One place we use them quite heavily is for creating 'pretty' tables, i.e. horizontal/vertical lines of color. I know Netscape is pretty picky about cells and their contents, so I'm wondering the best way to proceed.
In terms of performance, when trying to achieve a colored horizontal line, is it better to do something like this:
<table ...>
<tr>
<td colspan="number of columns" bgcolor="some color" height="1"><img src="some spacer.gif"></td>
</tr>
</table>
or this:
<table ...>
<tr>
<td colspan="number of columns" bgcolor="some color" height="1"><table ...><tr><td></td></tr></table></td>
</tr>
</table>
We have several pages where we would use our decided approach multiple times.
In terms of performance, when trying to achieve a colored horizontal line, is it better to do something like this:
<table ...>
<tr>
<td colspan="number of columns" bgcolor="some color" height="1"><img src="some spacer.gif"></td>
</tr>
</table>
or this:
<table ...>
<tr>
<td colspan="number of columns" bgcolor="some color" height="1"><table ...><tr><td></td></tr></table></td>
</tr>
</table>
We have several pages where we would use our decided approach multiple times.