PDA

Click to See Complete Forum and Search --> : netscape with stylesheet


sharon
Nov 13th, 2000, 08:26 AM
hi!

where can i find exampels how to work with stylesheet in netscape?



i have a problem that i have a table with bgcolor and in ie5 i see it right and in netscape i dont see the color and the table is all wrong

help needed!

Nov 14th, 2000, 12:45 PM
One place to look is http://www.hotwired.com/webmonkey ... they have a decent stylesheet tutorial (that I used to learn stylesheet basics). They have a table of what works with IE and NS. I'm pretty sure that doing background-color works on tables with both.

A quick test you could try would be to use an inline style like so:

<TABLE STYLE="{ background-color: 'E0E0E0'; }">
<TR>
<TD>Whatever</TD><TD>Whatever</TD>
<TR>
</TABLE>

I think with tables you can just use a BGCOLOR attribute if you don't want to do styles like:

<TABLE BGCOLOR="E0E0E0">
</TABLE>

Good luck,
Paul

sharon
Nov 15th, 2000, 07:14 AM
thanks Paul

it helps!