` Printed Icetips Article

Icetips Article



Par2: Control Page Background color in Netscape
1998-06-08 -- Arnor Baldvinsson
 
>I have a form with a table defined in html using document.writeLn()
>My table has a backround color defined. bgcolor="blue"
>Everything works fine in IE4 but in NS the grey background from the window
>is showing through the table.  Is this a bug? How can I acheive this?

I hit this in NS.  I solved it by surrounding the entire window with a
table with the correct background.  Another thing:  It's possible that
the browsers interpret the color tags differently (wouldn't surprise
me at all!) so I'd rather use bgcolor="#0000FF" - maybe I'm just old
fashioned, but I'm more comfortable with the hex values

Note: color words vs. hex made no difference (shp)



Printed November 21, 2024, 7:06 am
This article has been viewed/printed 35188 times.