Background color

About the template and stylesheet - and changing the menu
Post Reply
bca
Posts: 293
Joined: Tue Sep 15, 2009 4:49 pm

Background color

Post by bca » Wed Apr 22, 2015 9:47 am

Hi

I have a site with the structure
<body>
<div id="wrapper">
content etc

</div>
</body

I have body background set to blue in css and the #wrapper background set to white.

When I view the site the whole page comes up blue ie the body background for a few seconds before the #wrapper's white background loads up and it looks a bit messy.

Is there a way around this?

B

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Background color

Post by cmb » Wed Apr 22, 2015 10:58 am

bca wrote:When I view the site the whole page comes up blue ie the body background for a few seconds before the #wrapper's white background loads up and it looks a bit messy.
Really for a few seconds?! There might be some blocking JavaScript; it would be best to change it so it doesn't block. Do you have the site online?
Christoph M. Becker – Plugins for CMSimple_XH

bca
Posts: 293
Joined: Tue Sep 15, 2009 4:49 pm

Re: Background color

Post by bca » Wed Apr 22, 2015 11:21 am

Ive sent a pm

Post Reply