Sign Up! Login: Password: New User? Forgot? Support
Top Mods!
Wowhead Search
by sonofsamedi
Digital Clock
by Wolfar15
Admin Forums
Welcome to the GuildPortal Help Community! These forums are for admin-to-admin help.
Available Forums
Forums : Pimp My Site! > Site background flashing white
Dr Thorpe (New Admin) 3/11/2009 9:30 PM EST : Site background flashing white
Dr Thorpe
Posts: 1027
Zomgawsh Poster

I think either I broke something or something changed at GP. Here is my site which uses all style sheets.

Tempest

When you go to the site everything looks fine but watch when the actual page loads even though the background color is set to black there is a white flash in the background that is very jarring and annoying. Go to the other pages and you will see this as well. If you don't try ctrl-F5.

I hope I am not going crazy and am the only one who can see this but if I am not it makes the site look bad plus like I said its annoying and weird on the eyes. The site should always have a black background so there is not flash in between the loading of the page and the display of the background image.

Thanks.

EDIT:

Thought I should add this as well to be complete. Here is the body section:

body {
    background-color: #000000;
    text-align:center;
    margin-left: auto;
    margin-right: auto;
    width: 800px;}

TopBottom

Dr Thorpe (New Admin) 3/13/2009 2:49 PM EST : RE: Site background flashing white
Dr Thorpe
Posts: 1027
Zomgawsh Poster

Nobodys got anything?
TopBottom

Mottie (MVP) 3/13/2009 4:22 PM EST : RE: Site background flashing white
GuildPortal MVP
Mottie
Posts: 3884
Zomgawsh Poster

Hi Dr. Thorpe!

Actually the flash of white you are seeing is my fault *hang head*... it's from the random background image script. Look in that script for the line below and add the color that I've highlighted in red and that should fix your problem.
var bkgdimg = "<style>body {background: #000000 url(" + bkgd[inc] + ") top center fixed no-repeat;}</style>";
TopBottom

Dr Thorpe (New Admin) 3/14/2009 6:46 AM EST : RE: Site background flashing white
Dr Thorpe
Posts: 1027
Zomgawsh Poster

Mottie said:
Hi Dr. Thorpe!

Actually the flash of white you are seeing is my fault *hang head*... it's from the random background image script. Look in that script for the line below and add the color that I've highlighted in red and that should fix your problem.
var bkgdimg = "<style>body {background: #000000 url(" + bkgd[inc] + ") top center fixed no-repeat;}</style>";


Hey Mottie,

Thanks so much man! That worked like a charm.
TopBottom

Admins Online
There are   members online.
So-and-so has logged on!
%title%
%message%