In IE 7 my div's shift far too much to the right, whilst they behave correctly in Google Chrome. At first I thought it was the z-index but then worked out in was the position:absolute Has anyone come across a fix, it would be much appreciated!
Screenshots:
IE7 http://i56.tinypic.com/2vjsqwz.png
Here is CSS:
#rightinfohomecontainer {
height: 300px;
width: 400px;
margin-top:160px;
float: left;
z-index: 3;
overflow: hidden;
position: relative;
#rightinfoboxhome {
float: left;
height: 100px;
width: 400px;
z-index: 2;
overflow: visible;
position: absolute;
margin-left: 0px;
#rightinfoboxtext {
float: left;
height: 245px;
width: 344px;
z-index: 1;
margin-top: 60px;
padding-left: 50px;
overflow: hidden;
padding-right: 6px;
padding-top: 2px;
margin-left: 0px;
position: absolute;
}
#rightcolumn {
float: left;
height: 600px;
width: 450px;
}
HTML
<div id="rightcolumn">
<div id="rightinfohomecontainer">
<div id="rightinfoboxhome"><img src="images/aboutus.png" /> </div>
<div id="rightinfoboxtext"></div>
</div></div>