SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Jul 2008
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    any techniques for when sIFR nor graphics will do?

    Hi there,

    Despite obvious concerns about accessibility, I need to find a way of fixing the font size in tab menus to avoid it breaking when user resizes text in their browser.
    I have tried sIFR and then realised that you CAN resize font. Great news for accessibility, but not for my situation. I can't use graphics, as this is going to be part of CMS, where the content author can change the text in the tabs. This also means I can't fix any widths (just paddings). The design is not mine to change, so i need to see if there's a solution out there first.

    Could anyone suggest any techniques i could try to fix the font-size?

    many thanks!

  2. #2
    SitePoint Wizard bronze trophy C. Ankerstjerne's Avatar
    Join Date
    Jan 2004
    Location
    The Kingdom of Denmark
    Posts
    2,702
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Code css:
    font-size: 16px;
    Christian Ankerstjerne
    <p<strong<abbr/HTML/ 4 teh win</>
    <>In Soviet Russia, website codes you!

  3. #3
    SitePoint Member
    Join Date
    Jul 2008
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks Christian, but i find this doesn't work for Firefox and IE7?
    I already have the font set in px.

  4. #4
    SitePoint Wizard bronze trophy C. Ankerstjerne's Avatar
    Join Date
    Jan 2004
    Location
    The Kingdom of Denmark
    Posts
    2,702
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Firefox allows the user to increase the text size of fixed-size text, which is a fault in the browser. Internet Explorer 7 allows the user to zoom the page. Neither of these functions can be disabled. Besides, the user is always able to specify their own style sheet, which can alter the font size.
    Christian Ankerstjerne
    <p<strong<abbr/HTML/ 4 teh win</>
    <>In Soviet Russia, website codes you!

  5. #5
    SitePoint Member
    Join Date
    Jul 2008
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yes, i've just learnt my lesson on the difference between zoom and text-enlarge (I'd been using ctrl ++ on IE, apparently zooming rather than text-enlarging, duh).
    Thanks for your comments.


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
  •