Jump to content

[SOLVED] Fonts - cross browser concistency ???


spires

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/175327-solved-fonts-cross-browser-concistency/
Share on other sites

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.

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.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.