SitePoint Sponsor

User Tag List

Results 1 to 8 of 8

Thread: font size locked

  1. #1
    SitePoint Addict explorer_pl's Avatar
    Join Date
    Dec 2004
    Location
    Poland
    Posts
    225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    font size locked

    hi

    i've been working designing sites using scc mostly for type.
    it was normal, that then i've defined the font size in css, the user
    couldn't change the size when we viewed the site (in IE)

    but it seems that the font size isn't locked under FireFox.

    i'm wondering - is it normal that FireFox allows changeing font size, or am i doing
    something wrong.

    thanks
    so little time, so much to do
    talk to me

  2. #2
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by explorer_pl
    i'm wondering - is it normal that FireFox allows changeing font size
    Yes. As a matter of fact, every browser except for IE/Windows allows for font size adjustment regardless of the units you specify.

  3. #3
    SitePoint Addict explorer_pl's Avatar
    Join Date
    Dec 2004
    Location
    Poland
    Posts
    225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks. i was afraid that i've just f***ed up something once again
    so little time, so much to do
    talk to me

  4. #4
    SitePoint Author silver trophybronze trophy

    Join Date
    Nov 2004
    Location
    Ankh-Morpork
    Posts
    12,159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, you're doing something wrong. You're specifying font sizes in a fixed unit that makes it impossible for IE/Win users to change the size. For anyone with less than 20/20 vision, that makes your page very hard to use.
    Birnam wood is come to Dunsinane

  5. #5
    SitePoint Addict explorer_pl's Avatar
    Join Date
    Dec 2004
    Location
    Poland
    Posts
    225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    what are you sugesting i should do?
    so little time, so much to do
    talk to me

  6. #6
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by AutisticCuckoo
    For anyone with less than 20/20 vision, that makes your page very hard to use.
    Code:
    body {
    font-size: 24px;
    }

  7. #7
    SitePoint Author silver trophybronze trophy

    Join Date
    Nov 2004
    Location
    Ankh-Morpork
    Posts
    12,159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Much better:
    Code:
    body {font-size:100%}


    (24px font size isn't very useful for some who has 20/20 vision, and if it's set in pixels, they can't resize it in IE.)

    The best way (for usability and accessibility) is to use relative units for font sizes, i.e. ems or percentages. It requires a different way of thinking about design, compared to old-skool table-based design, though.
    Birnam wood is come to Dunsinane

  8. #8
    SitePoint Addict explorer_pl's Avatar
    Join Date
    Dec 2004
    Location
    Poland
    Posts
    225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well, i'm new to full-css designs so i think, that this time
    i'll let it be the way it is. i'm waaaay over my deadline
    so little time, so much to do
    talk to me

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
  •