CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   HTML & CSS (http://www.codingforums.com/forumdisplay.php?f=13)
-   -   IE9 font size slightly larger than Chrome (http://www.codingforums.com/showthread.php?t=285798)

SRD75 01-15-2013 05:10 AM

IE9 font size slightly larger than Chrome
 
Please view this site in Chrome & IE9.

In Chrome, the navigation LIs are placed within the header area.

In IE9, the font size is slightly larger, resulting in the UL being forced downward partially outside the header.

Here is a zoom comparison:
http://i112.photobucket.com/albums/n...ps8218dfb5.jpg

COBOLdinosaur 01-15-2013 05:06 PM

Yes. Browsers from different manufacturers are not identical, and there are small differences in rendering. If you code too tightly then you will run into all kinds of small dimensional differences that can break a page. So just allow a few pixels slack and you will not have a problem.

SRD75 01-16-2013 05:28 AM

Thanks CobolSaur

L0adOpt1c 01-16-2013 01:55 PM

If your website in question is too dependent on it's current code, you could always make browser specific code. That way you could manually make IE9's text smaller fairly easily.

AndrewGSW 01-16-2013 04:17 PM

Quote:

Originally Posted by L0adOpt1c (Post 1306638)
If your website in question is too dependent on it's current code, you could always make browser specific code. That way you could manually make IE9's text smaller fairly easily.

I much prefer COBOLDinosaur's advice, to allow a little slack.

linek98 01-16-2013 04:40 PM

You can just use CSS to tell browser to use some certain font and size.


All times are GMT +1. The time now is 08:44 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.