[Javascript] Background color in <DIV> in Netscape 4.7x

Reuben D. Budiardja reubendb at innovativethought.com
Thu Oct 17 15:51:39 CDT 2002


Hi,
Sorry if this is a bit off topic. I need help in figuring out how to put a 
good bacground color for a <DIV> section so that it renders correctly in 
Netscape 4.7. Just putting, eg. 
<DIV STYLE='background-color:blue'> 

Makes netscape only renders the background when there is text on the 
foreground. To know what I mean, here are 2 screenshoots. The first one is 
taken with netscape 4.7. The second one the result I want, which is rendered 
correctly by Mozilla / Netscape 7. Any help is greatly appreciated.

http://arcturus.phys.utk.edu/webdevel/netscape4.png
http://arcturus.phys.utk.edu/webdevel/mozilla.png

I actually use css on the page on screenshoot, but the result is the same in 
Netscape 4. The <DIV STYLE='background-color:blue'> gaves me the same bad 
rendering in NS4. I can of course not using CSS if that really helps, since 
the page is generated dynamically from the server-side anyway.


Thanks.
Reuben D. Budiardja





More information about the Javascript mailing list