Forum Moderators: open
<table width="760" cellspacing="0" cellpadding="0" border="0">
<tr><td bgcolor="#336699">
<img src="images/spacer.gif" width="760" height="3" border="0" alt="spacer gif">
</td></tr></table>
If there is a better way to do this that will work in Win XP please let me know.
<table width="760" cellspacing="0" cellpadding="0" border="0">
<tr><td bgcolor="#336699">
<img src="images/spacer.gif" width="760" height="3" border="0" alt="spacer gif"></td></tr></table>
That removes the newline, which depending on settings can be considered to be equal to a <br> within the td.
Can you explain why:style="width: 760px; height: 3px;"
added to the image tag is needed when the dimensions are in the image tag already?
It isn't needed (and definitely shouldn't be), but if IE is ignoring the usual attributes I figured it might be worth a shot, for example if other CSS is overriding the attributes :-)