galvin Posted January 12, 2010 Share Posted January 12, 2010 I am having problems with the stupid difference in how IE and Firefox handle padding differently in terms of overall width. I came across a forum thread (link at the end)that says to add this style definition: DIV{-moz-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;} Everybody on the forum said it worked for them and praised it as such a great, simple solution. My question is where do I put this code? In my CSS I presume, but where? At the top or does it not matter? Probelm is that I added it to the top of my CSS and I still have Firefox rendering the padding differently. Anyone know if this "fix" really should work or not? If so, please let me know where I need to put this bit of code (and maybe explain it a little more if you understand it well) LINK: http://www.ozzu.com/website-design-forum/positioning-with-mozilla-t24024.html Quote Link to comment https://forums.phpfreaks.com/topic/188261-ie-vs-firefox-w-padding/ Share on other sites More sharing options...
haku Posted January 13, 2010 Share Posted January 13, 2010 Did you look at the date on that post? Quote Link to comment https://forums.phpfreaks.com/topic/188261-ie-vs-firefox-w-padding/#findComment-993965 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.