- - WebmasterWorld
- -- Accessibility and Usability
- ---- Accessibility basics: tips and tricks to build an accessible website
DrDoc - 4:30 pm on Dec 21, 2006 (gmt 0)
Allow me to make just one tiny correction ...
|1. Use CSS import for the screen stylesheet |
<style type="text/css" media="screen">
That way older browser (4th gen and prior - Netscape 4 + IE4) that would end up messing up your site layout don't use the stylesheet as they don't understand the import command.
While that statement is true for NN4, it does not hold true for IE4. IE4 understands this:
IE4 does not understand this:
Notice the difference? So, while you should still use
@import, define the file to be imported using double quotes and ditch the
url() type definition. It is valid CSS, and now IE4 ignores the imported stylesheet as well. :)
Thread source: http://www.webmasterworld.com/accessibility_usability/3181410.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com