SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast
    Join Date
    Jul 2000
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question What's the NN4.x equivalent of this CSS font size?

    I'm using 8pt for the size specification of a particular CSS style. It works in IE6 and NN6 but not NN4.x (not checked IE5), what alternative sizing method should I use so that the font still comes out this size in this browser?
    I just need to know an alternative size specification (be it ems or whatever) that will show the font the same size in NN4.x.

    Thanks guys!!

    Zahid

  2. #2
    SitePoint Wizard Aes's Avatar
    Join Date
    Jun 2001
    Location
    Oklahoma
    Posts
    3,392
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Using points always seem to come out incorrectly in Netscape 4.x; why not have Netscape 4.x browsers utilize a modified stylesheet with increased font size (such as 10pt) to correct it? -- then Internet Explorer, Netscape 6.x, et cetera will be given the original stylesheet. Just an idea.
    Colin Anderson
    Ambition is a poor excuse for those without
    sense enough to be lazy.

  3. #3
    SitePoint Enthusiast
    Join Date
    Jul 2000
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That's an idea, yes. I might try that. Where would I get the java code needed to specify one style sheet for NN4.xx and another for IE6/NN6? That's the hard bit, I think!?

  4. #4
    What? Maelstrom's Avatar
    Join Date
    Oct 2001
    Location
    Whistler BC originally from Guelph Ontario
    Posts
    2,175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by zsaddique
    That's an idea, yes. I might try that. Where would I get the java code needed to specify one style sheet for NN4.xx and another for IE6/NN6? That's the hard bit, I think!?
    Heres an interesting article on this topic with a solution at the end for browser detection. It isn't exactly the code I have used but it would work.

    http://www.utoronto.ca/ian/books/xht...pt/css-4a.html
    Maelstrom Personal - Apparition Visions
    Development - PhP || Mysql || Zend || Devshed
    Unix - FreeBSD || FreeBsdForums || Man Pages
    They made me a sitepoint Mentor - Feel free to PM me or Email me and I will see if I can help.

  5. #5
    Posts rarely lloydi's Avatar
    Join Date
    Jan 2002
    Location
    Swindon UK
    Posts
    620
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Here's some more info

    This thread is kind of connected to what you're asking:
    Build Your Own Web Site the Right Way!
    A beginners' HTML/CSS book with web standards at its heart
    The Ultimate HTML Reference
    A complete reference, in glorious hardback


Bookmarks

Posting Permissions

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