deadlock Message Board
[ August Full List | Reply ]

Re: Works For Me
From Jay Browne on 3 Sept '99
replying to Works For Me posted by MacMatŠ

Well, I found the problem, i was doing everything like you were, but i specified a bgcolor=white like the following....that takes priority over the image background....

i'm doing this to get a black border....Works in IE great, but not netscape


<HTML>

<BODY BGCOLOR="white">
<table CELLPADDING=1 CELLSPACING=0 bgcolor=black><tr><td>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 bgcolor=white width=100%>
<TR>
<TD BACKGROUND="image.jpg">

<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=10 width=100%>
<TR>
<TD BACKGROUND="">This is a cell using the parent cell's background image. Because of using the td background="" attribute here, it works the same in both Navigator and IE. There is no retiling of the image in each new nested cell.
<P>
Keep in mind however, that of course the parent cell's image will always tile if the image is not large enough to cover the area of all nested cells within and it's own total area. But this is different than a retiling of the same image over again starting at each new cell (overlapping on top of the parent cell's background image). If you remove the td background="" attribute here, that's what will happen under Navigator 4. It will have no effective change under IE however.
</TD>
<TD VALIGN="TOP" BACKGROUND="">Here is another cell allowing the parent cell's background image to show through, without causing the same image to retile in this particular cell.
</TD>
</TR>
</TABLE>

</TD>
</TR>
</TABLE>
</td></tr></table>
</BODY>

</HTML>




Reply to this message

Required Details
Your name:
Subject:

Optional Details
Home page title:
Home page URL:
Email:
(if you'd like to receive
automatic replies by email)

Your Message