bobinindia Posted June 10, 2008 Share Posted June 10, 2008 I have a div element that positions correctly in all browsers except IE. This seems to be a bug. Anyone know a fix? CSS below: div.boldy { position: absolute; top:320px; left:550px; } Quote Link to comment Share on other sites More sharing options...
calabiyau Posted June 10, 2008 Share Posted June 10, 2008 Would need to see much more code than this. I have always found position: absolute to be very cross browser reliable, so the problem must lie elsewhere. Quote Link to comment Share on other sites More sharing options...
TheFilmGod Posted June 11, 2008 Share Posted June 11, 2008 I have a div element that positions correctly in all browsers except IE. This seems to be a bug. Anyone know a fix? CSS below: div.boldy { position: absolute; top:320px; left:550px; } The problem lays in IE 6's "rounding" calculations. For it to correctly align divs it first needs to "calculate" pixel dimensions except sometimes it "rounds" (incorrectly). Solution: Make sure the parent div "position: relative" has an even number as the width/height. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.