cgm225 Posted November 19, 2007 Share Posted November 19, 2007 If you look at the last photo in the gallery I coded (see here), I got it to be displayed to the left by adding some large right sided padding. However, when you compare the location of that last image in FF and IE, it is exactly where I want it in FF, but in IE 6 the image is still ~1px misaligned to the right. Any ideas on how to correct this? Thank you all in advance! Also see here for browser shots. Quote Link to comment https://forums.phpfreaks.com/topic/77977-off-by-a-pixal-in-ff-versus-ie/ Share on other sites More sharing options...
bronzemonkey Posted November 19, 2007 Share Posted November 19, 2007 You can use some css to target IE6 only and correct the misalignment. If this is the only problem IE6 is giving you, just use the famous * html hack to provide IE6 with a margin value that produces the same alignment as that which you have achieved in FF. /*everything apart from IE6 will use this value*/ #myelement {margin-left:200px;} /*but the hack below will mean that only IE6 sees and uses the margin value of 201px*/ * html #myelement {margin-left:201px;} Quote Link to comment https://forums.phpfreaks.com/topic/77977-off-by-a-pixal-in-ff-versus-ie/#findComment-394692 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.