100% width dont work in IE

liunx

Guest
Hi,

In firefox the code below takes the two divs from 400px left to the right the way over to the right (as if it is 100%;).

This does not workin in IE? In IE i actually need to set it as 100% width, but when i do it puts a horizontal scroll bar in by 400px (coz i moved it overby 400px)


#topinsideheader {
position:absolute;
top:20px;
left: 400px;
right: 0px;
height: 60px;
background-image:url(../SOURCE/images/header/tilebottom.jpg);
background-repeat:no-repeat;
background-repeat:repeat-x;
z-index: 151;
}

#blackinsideheader {
position:absolute;
top: 80px;
left: 400px;
right: 0px;
background-color:#333333;
height:5px;
z-index: 150;
}


Any Ideas?

Thanks
k0r54IE = stupid.

Try useing conditional includes for the percentage so it doesn't mess up any normal browser with standards.IE = stupid

I couldn't agree more but unfortunatly 60% of the internet uses IE :(

What exatly do you mean, i have tried doing 100% but it bugers up?

k0r54Its hard to tell without the URL but what are the body margins plus I see no CSS width.
 
Back
Top