Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

BACKGROUND-COLOR Netscape

Status
Not open for further replies.

OzDing

Programmer
May 1, 2001
7
AU
Hi, yes it's netscape again. I use Visual Interdev 6, have a stylesheet, part of which is:
.bgColor05 {BACKGROUND-COLOR: maroon}

In IE, no problems. In Netscape, this bit of code correctly colours the background:

<tr>
<td colspan=&quot;3
<table border=&quot;0&quot; cellPadding=&quot;0&quot; cellSpacing=&quot;0&quot; width=&quot;750&quot; align=&quot;left&quot; class=&quot;bgColor05&quot;>
<tr>
<td align=&quot;right&quot;>
<img height=&quot;19&quot; src=&quot;../Images/Logos/logoSecure.gif&quot; width=&quot;57&quot;>
</td>
</tr>
</table>
</td>
</tr>

However this bit (belonging to the same parent table) has no colour and is driving me nuts:

<tr valign=&quot;top&quot;>
<td width=&quot;150&quot; valign=&quot;top&quot; height=&quot;100%&quot; class=&quot;bgcolor05&quot;>
<table border=&quot;0&quot; cellPadding=&quot;0&quot; cellSpacing=&quot;0&quot; align=&quot;left&quot; width=&quot;146&quot; class=&quot;bgcolor05&quot;>
<tr>
<td align=&quot;left&quot;>
<img height=&quot;0&quot; src=&quot;../Images/onePixel.gif&quot; width=&quot;2&quot;>
</td>
<td align=&quot;center&quot; valign=&quot;bottom&quot;>
<img height=&quot;61&quot; src=&quot;../Images/Logos/logoThawteSecurity.gif&quot; width=&quot;93&quot;>
</td>
<td align=&quot;left&quot;>
<img height=&quot;0&quot; src=&quot;../Images/onePixel.gif&quot; width=&quot;2&quot;>
</td>
</tr>
</table>
</td>
</tr>

Any clues would be appreciated,

Simon
 
hmmm.... I can't tell you much about it. There could be a problem with your stylesheet where you define bgColor.

Post that part of your code so we could help :)


Regards,
daLearner
`~*,*~`~*,*~`~*,*~`~*,*~`~*,*~`
In my beginning is my end...
~*,*~`~*,*~`~*,*~`~*,*~`~*,*~`​
 
Try giving the TD the same class. Netscape can be a bit funny about that. Dean Owen
 
Hi,
Thnaks for your help. Now fixed...how? Just a little fiddling with the td and table definitions!

<!-- Left hand table cell -->
<td class=&quot;bgColor05&quot; width=&quot;150&quot; valign=&quot;top&quot; height=&quot;100%&quot;>
<table border=&quot;0&quot; cellPadding=&quot;0&quot; cellSpacing=&quot;0&quot; align=&quot;left&quot; width=&quot;150&quot;>

Simon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top