Hi,
I'm writing a system which will use a designer to style the customer facing stuff, but I'm styling the admin bits myself. I have set a 600 x 4px gradient
image to fill the body:
All of my admin content goes into a div called #content:
My problem, is that frequently on page load the background image is only visible adjacent to the sides of the content div with whitespace above and below (see pic). Refreshing the page sometimes cures it and hovering over a link magically makes it fill the page, too!
This behaviour is manifesting in Chrome and IE7, but curiously not FF 3.5?
Gaz
I'm writing a system which will use a designer to style the customer facing stuff, but I'm styling the admin bits myself. I have set a 600 x 4px gradient
image to fill the body:Code:
body {
background-image: url('/assets/image/admin_bg.png');
margin: 0 auto;
font-family: Lucida Grande, Verdana, Sans-serif;
font-size: 12px;
color: #000;
}
Code:
#content {
width: 660px;
margin: 0 auto;
margin-top: 40px;
border: #999 1px solid;
background-color: #fff;
padding: 12px;
}
This behaviour is manifesting in Chrome and IE7, but curiously not FF 3.5?
Gaz
Comment