melting_dog Posted December 16, 2011 Share Posted December 16, 2011 Hi all, I am using a custom font with CSS3 and it works fine in Chrome and Firefox, but as suspected, not in IE. The issue is that the custom fault I have is smaller then the normal, default sans-serif font. So what appears as a 35px font size is actually a 50px font size. When I view the site in IE the default sans-serif font then looks massive. Does anyone know of a way to tell IE (and just IE) to make the font smaller? Quote Link to comment https://forums.phpfreaks.com/topic/253286-css3-custom-fonts-how-to-make-default-font-change-size/ Share on other sites More sharing options...
melting_dog Posted December 16, 2011 Author Share Posted December 16, 2011 Hi guys - did some hard core Googling and found that adding \9 after the css does the trick. E.g: font-size: 45px; font-size: 30px\9; Quote Link to comment https://forums.phpfreaks.com/topic/253286-css3-custom-fonts-how-to-make-default-font-change-size/#findComment-1298433 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.