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 2 of 2
  1. #1
    Senior Coder
    Join Date
    Nov 2010
    Posts
    1,341
    Thanks
    260
    Thanked 32 Times in 31 Posts

    curious font-size question

    Im just wondering what what is the overall norm here.

    I do see alot of this type format

    Code:
    font-size:12px;
    but it also seems that this is becomming more popular

    Code:
    font-size:small;

    I can see the benefit to both, but also there are times that you need to dial in the font size perfectly and so the px method would work better.

    Questions are :

    What are they teaching in school now or leaning toward?
    Is there an industry standard or w3c preference here?

    Thanks

  • #2
    New Coder
    Join Date
    Sep 2012
    Location
    Scottish Borders
    Posts
    36
    Thanks
    1
    Thanked 9 Times in 9 Posts
    Hi, I do not know that there is an industry standard as such but for accessibility the font size is best declared as em or & values. Personally I only use a fixed size for headers to gain some cross browser compatiblity and within my menu bar since I wish this area to remain a constant size. Just my personal feeling on the subject but I do not like the font size to small or unchangable. Jim
    Jims Way is following a strict but simple code


  •  

    Posting Permissions

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