android6011 Posted February 18, 2009 Share Posted February 18, 2009 As you can see in the image below, the width sizes are significantly different between firefox and ie. i am having this problem with a site im designing but the quick page below shows the gist of my problem http://www.fileden.com/files/2007/3/11/876372/div_width_problem.JPG any explanation or work arounds would be appreciated. thanks Quote Link to comment https://forums.phpfreaks.com/topic/145683-cross-browser-width-difference-problem/ Share on other sites More sharing options...
Petsmacker Posted February 18, 2009 Share Posted February 18, 2009 Its especially confusing as NEITHER of the divs are 960px. One suggestion: Add <head></head> tags and all the necessary tags within. I'm not sure why that would help but its worth a try. Quote Link to comment https://forums.phpfreaks.com/topic/145683-cross-browser-width-difference-problem/#findComment-764850 Share on other sites More sharing options...
android6011 Posted February 18, 2009 Author Share Posted February 18, 2009 sorry didnt realize i could just attach picture before. this is the problem in this image [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/145683-cross-browser-width-difference-problem/#findComment-764851 Share on other sites More sharing options...
haku Posted February 18, 2009 Share Posted February 18, 2009 Don't bother with IE5. Besides the fact that it's even more screwed up than IE6, which itself is particularly screwed up, almost no one is using IE5 anymore, and almost no developers still code for it. Quote Link to comment https://forums.phpfreaks.com/topic/145683-cross-browser-width-difference-problem/#findComment-764877 Share on other sites More sharing options...
android6011 Posted February 18, 2009 Author Share Posted February 18, 2009 my problem is consistent across ie5 ie6 ie7 ie8 beta , they all differ from firefox Quote Link to comment https://forums.phpfreaks.com/topic/145683-cross-browser-width-difference-problem/#findComment-764880 Share on other sites More sharing options...
haku Posted February 18, 2009 Share Posted February 18, 2009 Add padding:0; to your CSS for the div. Quote Link to comment https://forums.phpfreaks.com/topic/145683-cross-browser-width-difference-problem/#findComment-764895 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.