Click here to Skip to main content
15,892,674 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
CSS
body{font-size: 11px !important;font-size: 12px;
   font-family: Arial;
 }


Hi all!In IE9,the text seem to be more smaller than they in IE8 or FF or Chrome,it is so strange,is there anybody know how to fix it or why their size display in IE9 diffrently?
Thx!
Posted
Updated 18-Apr-13 4:29am
v2
Comments
ZurdoDev 18-Apr-13 10:31am    
Why is it strange? You are specifying 2 different font-sizes. Apparently IE8 renders it one way and IE9 renders it differently.
silverDrops 18-Apr-13 10:36am    
the !improtant is css hack for IE6,except ie6,all the browser will take the css attribut of font-size:11px;
ZurdoDev 18-Apr-13 10:42am    
I know. I'm just saying with every new version of IE things render differently. Have you used the IE dev tools to try and figure out exactly what is happening?
silverDrops 18-Apr-13 10:48am    
I have used it!But I still can't get it.
ZurdoDev 18-Apr-13 10:49am    
It may actually be a different font. If you use the dev tools there is a trace styles tab so you can see where formatting is coming from.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900