MIPS64 Posted November 15, 2012 Share Posted November 15, 2012 I have noticed that in Firefox the font size is 1 pixel larger than what is displayed in IE and Chrome. Normally I would not care but the font size difference is pushing an element down by 1px. I have tried doing a CSS reset. I just think its the way Firefox renders it that makes it that way. I am guessing there is no way to fix this problem? Link to comment https://forums.phpfreaks.com/topic/270740-font-size-difference-in-ie-vs-firefox/ Share on other sites More sharing options...
MDCode Posted November 16, 2012 Share Posted November 16, 2012 You can use javascript to determine the browser name, then adjust accordingly if it is. As far as I know, there is no detection for firefox browser in css. Link to comment https://forums.phpfreaks.com/topic/270740-font-size-difference-in-ie-vs-firefox/#findComment-1392938 Share on other sites More sharing options...
Beeeeney Posted November 16, 2012 Share Posted November 16, 2012 <script> if (BrowserDetect.browser == 'Firefox' ) { //Load your stylesheet } </script> Link to comment https://forums.phpfreaks.com/topic/270740-font-size-difference-in-ie-vs-firefox/#findComment-1393013 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.