spires Posted September 24, 2009 Share Posted September 24, 2009 Hi Guys, Getting everything to look right in all browser seems to be an increasingly difficult job. Currently, I am suck on trying to get the font to act the same in each browser. I'm using 'em' instead of 'px' and even tried '%', but can't seem to get it to work. FF, IE & safari all do something different. Is there a way of correcting this? Thanks for your help. Quote Link to comment https://forums.phpfreaks.com/topic/175327-solved-fonts-cross-browser-concistency/ Share on other sites More sharing options...
Pickle Posted September 24, 2009 Share Posted September 24, 2009 hi spires can you post a link to your page so we can have a look? Quote Link to comment https://forums.phpfreaks.com/topic/175327-solved-fonts-cross-browser-concistency/#findComment-924396 Share on other sites More sharing options...
spires Posted September 24, 2009 Author Share Posted September 24, 2009 Yeah sure, www.smartmac.co.uk the links in the navigation at the top. Safari only goes about 80% across FF goes about 90% across IE somewhere in between. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/175327-solved-fonts-cross-browser-concistency/#findComment-924432 Share on other sites More sharing options...
haku Posted September 25, 2009 Share Posted September 25, 2009 You can try specifying different font sizes for different browsers using a combination of conditional comments, hacks and/or javascript, but the reality is you are fighting a losing battle. Each browser has it's own font rendering engine, and as such, its impossible to get them to all be exactly the same. You can only get them to be sort of close. Quote Link to comment https://forums.phpfreaks.com/topic/175327-solved-fonts-cross-browser-concistency/#findComment-924539 Share on other sites More sharing options...
Pickle Posted September 25, 2009 Share Posted September 25, 2009 haku is right its hard to get them to all look the same and i would advise against hacks and javascript to sort out your css issues. however i have just checked in the latest versions of IE, FF, Chrome and safari for pc and the only one thats noticeably out is safari. Quote Link to comment https://forums.phpfreaks.com/topic/175327-solved-fonts-cross-browser-concistency/#findComment-924678 Share on other sites More sharing options...
spires Posted September 26, 2009 Author Share Posted September 26, 2009 Thanks you comment guys. It's been a great help Quote Link to comment https://forums.phpfreaks.com/topic/175327-solved-fonts-cross-browser-concistency/#findComment-925146 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.