Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-15-2013, 05:10 AM   PM User | #1
SRD75
Regular Coder

 
Join Date: Sep 2011
Posts: 121
Thanks: 23
Thanked 0 Times in 0 Posts
SRD75 is an unknown quantity at this point
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:
SRD75 is offline   Reply With Quote
Old 01-15-2013, 05:06 PM   PM User | #2
COBOLdinosaur
Regular Coder

 
COBOLdinosaur's Avatar
 
Join Date: Jul 2002
Location: Canada
Posts: 293
Thanks: 0
Thanked 18 Times in 18 Posts
COBOLdinosaur is an unknown quantity at this point
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.
__________________
100% standards compliant code is 100% correct 100% of the time.
one of my toys from my repository and perhaps some help getting help

Cd&
COBOLdinosaur is offline   Reply With Quote
Old 01-16-2013, 05:28 AM   PM User | #3
SRD75
Regular Coder

 
Join Date: Sep 2011
Posts: 121
Thanks: 23
Thanked 0 Times in 0 Posts
SRD75 is an unknown quantity at this point
Thanks CobolSaur
SRD75 is offline   Reply With Quote
Old 01-16-2013, 01:55 PM   PM User | #4
L0adOpt1c
New Coder

 
L0adOpt1c's Avatar
 
Join Date: Jan 2013
Location: <bed />
Posts: 87
Thanks: 0
Thanked 6 Times in 6 Posts
L0adOpt1c is an unknown quantity at this point
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.
L0adOpt1c is offline   Reply With Quote
Old 01-16-2013, 04:17 PM   PM User | #5
AndrewGSW
Senior Coder

 
Join Date: Apr 2011
Location: London, England
Posts: 2,120
Thanks: 15
Thanked 354 Times in 353 Posts
AndrewGSW will become famous soon enough
Quote:
Originally Posted by L0adOpt1c View Post
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.
__________________
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Validate your HTML and CSS
AndrewGSW is offline   Reply With Quote
Old 01-16-2013, 04:40 PM   PM User | #6
linek98
New Coder

 
Join Date: Dec 2012
Location: England
Posts: 18
Thanks: 0
Thanked 4 Times in 4 Posts
linek98 is an unknown quantity at this point
You can just use CSS to tell browser to use some certain font and size.
linek98 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:49 AM.


Advertisement
Log in to turn off these ads.