Page 1 of 1

Background image

Posted: Thu Jan 13, 2011 8:44 am
by wiredextreme
For some reason only in IE6, the background image shows first and then you scroll down and the rest of the content is below the picture. This is the only version of any browser it does this in. Any way to fix this issue? Here's the coding for the background image:

It's in the CSS file:

Code: Select all

#bg {top:0; left:0; width:100%; height:100%; position:fixed}

Re: Background image

Posted: Fri Jan 14, 2011 10:04 am
by Jade
Change position to absolute.

Re: Background image

Posted: Thu Jan 27, 2011 6:24 pm
by Pazuzu156
Why not just use the background image as a page background it eliminates any of that hassle.

Code: Select all

body, html {
    background-image:url('image.jpg');
}

Re: Background image

Posted: Mon Jan 31, 2011 7:42 am
by Jade
Maybe they need to show/hide the background div with javascript. Putting it on the body tag can make doing that a hassle.

Re: Background image

Posted: Tue Feb 01, 2011 1:29 am
by bestwebdesigner
Hi,
Proper space between the code is needed to display image in IE
Go to your CSS

bg
{
background: url("image url") no-repeat;
height:/*based on your image*/
width:/*based on your image*/
}