Forum Moderators: open
<tr background="http://www.mysite.com/images/topnavbg.GIF">
<td height="26" colspan="2" cellspacing="0">
<div id="tnav">
<div align="center">
<p>Home ¦ <a href="http://www.mysite.com/shop/index.html">Shop</a> ¦ <a href="http://www.mysite.com/shop/designs/index.html">Designs </a>¦ <a href="http://www.mysite.com/about/index.html">About</a> ¦ <a href="http://www.mysite.com/about/help.html">Help</a> </p>
</div>
</div></td>
</tr>
Anyone know why the image doesn't display?
[edited by: BlobFisk at 11:41 am (utc) on May 4, 2005]
[edit reason] Examplified URLs [/edit]
the answer is to use CSS, like this...
<tr [blue][2] style="background-image:url(http://www.oranjy.com/images/topnavbg.GIF)"[/2][/blue]>
If you are unfamiliar with CSS pay a visit to...
w3schools [w3schools.com]
birdbrain
<!ATTLIST tr
%attrs;
%cellhalign;
%cellvalign;
bgcolor %Color; #IMPLIED
>
According to the DTD you are using background-images are not allowed in <tr>.
You are confusing background (deprecated attribute) with
the CSS background-image which is, of course, allowable.
birdbrain
well, it worked for me. :)
I tested it in these browsers...
birdbrain
it seems that you have changed .GIF to .gif. ;)
I suggest that you return to the original code.
birdbrain
<table width="783" cellspacing="0">
<tr>
<td height="107" class="header"> </td>
</tr>
</table>
<table width="804" cellspacing="0">
<tr style="background-image:url(http://www.oranjy.com/images/topnavbg.GIF)">
<td height="26" colspan="2" cellspacing="0">
<div id="tnav">
<div align="center">
<p>Home ¦ <a href="http://www.oranjy.com/shop/index.html">Shop</a> ¦ <a href="http://www.oranjy.com/shop/designs/index.html">Designs </a>¦ <a href="http://www.oranjy.com/about/index.html">About</a> ¦ <a href="http://www.oranjy.com/about/help.html">Help</a> </p>
</div>
</div></td>
</tr>
Can you see anything wrong with this.
The full page source code is here:
oranjy dot com / source.txt
Thanks for any help..
I suggest that you try these modifications....
<table width="804" cellspacing="0"style="padding-top:0px;">
<tr>
<td height="26" colspan="2"style="background-image:url(http://www.oranjy.com/images/topnavbg.GIF)">
<div id="tnav">
birdbrain