Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- How deliver different CSS for visually impaired people?


ecardiff - 12:14 pm on Jul 31, 2002 (gmt 0)


I've recently found out that percentages can be used to define font size in CSS. (Maybe it's just me, and that was common knowledge!?!)

So, instead of using say ...font-size:10pt;....I'm using .....font-size:80%;

So if you alter text-size in your browser settings (view>text size in IE) the text increases, rather than this being over-ridden by your style sheet.

This assumes a visually impaired person would have text size set at larger or largest which is reasonable I suppose, and means you only need one style sheet.

Hope that's of some help.


Thread source:: http://www.webmasterworld.com/css/259.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com