Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Regular Coder
    Join Date
    Sep 2011
    Posts
    265
    Thanks
    49
    Thanked 1 Time in 1 Post

    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:

  • #2
    Regular Coder COBOLdinosaur's Avatar
    Join Date
    Jul 2002
    Location
    Canada
    Posts
    400
    Thanks
    2
    Thanked 30 Times in 30 Posts
    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&

  • #3
    Regular Coder
    Join Date
    Sep 2011
    Posts
    265
    Thanks
    49
    Thanked 1 Time in 1 Post
    Thanks CobolSaur

  • #4
    Regular Coder Nerevarine's Avatar
    Join Date
    Jan 2013
    Location
    Phendrana Drifts, Tallon IV, W-Class
    Posts
    285
    Thanks
    0
    Thanked 17 Times in 17 Posts
    Blog Entries
    3
    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.

  • #5
    Senior Coder
    Join Date
    Apr 2011
    Location
    London, England
    Posts
    2,120
    Thanks
    15
    Thanked 354 Times in 353 Posts
    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

  • #6
    New Coder
    Join Date
    Dec 2012
    Location
    England
    Posts
    20
    Thanks
    0
    Thanked 4 Times in 4 Posts
    You can just use CSS to tell browser to use some certain font and size.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •