devonrs
05-15-2008, 11:47 PM
my page has the main content centered and then a left and right div for the background images - you can see it at www.naughtygoat.org
i used css to style the three divs like this:
#left {background-image: url(i/leftback.gif);
background-position: top right;
background repeat: repeat-y;
width:1000px;
position:absolute;
right:50%;
margin-right:400px;
height:100%;}
#right {background-image: url(i/rightback.gif);
background-position: top left;
background repeat: repeat-y;
width:1000px;
position:absolute;
left:50%;
margin-left:400px;
height:100%;}
#container {position:absolute;
left:50%;
top:0px;
margin-left:-400px;;
width:800px;
height:100%;
it works fine on firefox and opera, but on IE the background images don't show up at all and the center div is on the left.. where did i go wrong?
thanks in advance..
i used css to style the three divs like this:
#left {background-image: url(i/leftback.gif);
background-position: top right;
background repeat: repeat-y;
width:1000px;
position:absolute;
right:50%;
margin-right:400px;
height:100%;}
#right {background-image: url(i/rightback.gif);
background-position: top left;
background repeat: repeat-y;
width:1000px;
position:absolute;
left:50%;
margin-left:400px;
height:100%;}
#container {position:absolute;
left:50%;
top:0px;
margin-left:-400px;;
width:800px;
height:100%;
it works fine on firefox and opera, but on IE the background images don't show up at all and the center div is on the left.. where did i go wrong?
thanks in advance..