SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
-
Jul 22, 2008, 04:28 #1
- 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!
-
Jul 22, 2008, 05:24 #2
- 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;
-
Jul 22, 2008, 05:27 #3
- 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.
-
Jul 22, 2008, 05:44 #4
- 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.
-
Jul 22, 2008, 06:55 #5
- 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