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 3 of 3
  1. #1
    New Coder
    Join Date
    Jul 2008
    Posts
    50
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Font size issues between FF and IE7

    I'm having trouble with font sizes between firefox and IE7. Here is my div for the font box:

    ul#nav {
    font: 20px "Times New Roman", Times, serif #000000;
    font-variant: small-caps;
    list-style: none;
    }

    For some reason, firefox is reading it significantly smaller than IE7. What am I doing wrong?

  • #2
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    The color definition is not specified in the font property. Basically, your syntax is confused. It should be like this: (+ slight simplification)
    Code:
    
    #nav {
      font: small-caps 20px 'times new roman', times, serif;
      color: #000;
      list-style: none;
    }

  • Users who have thanked Apostropartheid for this post:

    taylortsantles (07-18-2008)

  • #3
    New Coder
    Join Date
    Jul 2008
    Posts
    50
    Thanks
    8
    Thanked 0 Times in 0 Posts
    That did it. Thank you so much.

    Taylor


  •  

    Posting Permissions

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