I'm having a problem with the positioning of DIV content.
The layout works fine with most browsers that I've tested, including IE7, and also seems fine on IE5, but for some reason IE6 shifts the DIV content 300px to the right.
Check out: http://www.onlinesimon.co.uk/home.asp for an example of this.
Features two nested DIV's, one overlaying the other. Both contained within a 'container' DIV:
Expand|Select|Wrap|Line Numbers
- --- CSS ---
- .blend {-moz-opacity:0.6;filter:alpha(opacity=60);}
- --- HTML EXAMPLE ---
- <div style="width:600px;height:370px;">
- <div id="mContainer" style="position:relative;left:0px;top:0px;" zorder="1"></div>
- <div style="position:relative;top:0;left:0;z-order:3;background-image:url('http://www.onlinesimon.co.uk/images/putsch_overlay.gif');background-repeat:no-repeat;text-align:left;"><img class="blend" border="0" src="http://www.onlinesimon.co.uk/images/putsch.gif" alt="Putsch Architectural Glass" width="34" height="350"></div>
- </div>
- --- END OF HTML EXAMPLE ---
Any ideas? I'd rather know what I'm doing wrong then have to create a 'work-around' fix for IE6. The only quick solution is to go back to using tables, which is less than ideal.
Regards,
Simon