PDA

View Full Version : Background color help


skeet282
09-11-2005, 11:01 AM
I am trying to change my background color on an established web site. When I code it to change and go back to preview, the color just flashes and the screen returns to its original color. what could I be doing wrong? everything else i tried worked except for the background color.

thanks in advance

Terminator1138
09-11-2005, 11:34 AM
hard to say....
.
...
....
link maybe, post the source code.....more info please...like are you using CSS, inline styles, external sheet? Thanks

PsychoticDude85
09-11-2005, 12:17 PM
yeah make sure you aren't say colouring the <html> and then making the <body> full size with the original colour.

skeet282
09-11-2005, 04:50 PM
I read a little about html tags online.So thought I'd give it a try on my real estate brokers website. Everything I wanted to do worked. For instance, changing fonts, but I would only get a flash of the color I wanted my background to be and then it would go back to its original color. how i read online to change the bg color was <body bgcolor =" # ">.

Terminator1138
09-11-2005, 06:23 PM
Well like we stated, it all depends on how your site was set up like CSS externals sheets and inline styles can overrided some html. Just like PsychoticDude85 states....make sure you aren't say colouring the <html> and then making the <body> full size with the original colour.

if you can post a link so we can see the files online or maybe the code, we can help to see if you perhaps made even an error..!

My guess you have to styles in there since you say it flashes color on you. Just a guess. HTH