Forum Moderators: open

Message Too Old, No Replies

Background color not showing up in some browsers?

         

jrik21

4:00 pm on Aug 27, 2007 (gmt 0)

10+ Year Member



Hello,
I am just wondering if anyone knows why my background color for my webpage is not showing up in firefox or netscape? I have the preferences set to allow the pages colors, but it still just makes the background white. It works fine in IE and Safari. Thank you in advanced for any help!

Jen

jrik21

4:19 pm on Aug 27, 2007 (gmt 0)

10+ Year Member



Sorry...
I got a little impatient when i posted this and right after i did i found a site that helped me figure it out.

Just in case anyone else has this problem. The solution was that in my <body bgcolor> tag. I had the hexidecimal code, its just that i did not have the # in front of it.

Sorry again for the impatient post.

Jen

encyclo

4:22 pm on Aug 27, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld Jen, and thanks for posting your solution - it may come in handy for any future readers who find this thread via a search. :)

It's a good idea to check out your page with the HTML validator [validator.w3.org] when you encounter problems, it can help identify problem markup.

Madhu

6:18 am on Sep 12, 2007 (gmt 0)

10+ Year Member



hi jrik21

Make sure that ur color is in #
I mean to say
For declaring white color u hav to mention as "#FFFFFF" not as "white"

Xapti

1:49 pm on Sep 13, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



why do you say that, madhu?
Secondly, jrik21, the bgcolor tag is pretty useless now that CSS is around.
You shouldn't need to specify any information in the HTML itself about stuff like background or other style info, that's what CSS is for.