WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: CSS linking

for

From: Leo Smith
Date: Mar 15, 2002 2:38PM


I had not considered an offline user's browser and printing - if the
print sheet had not already been downloaded, then the print styles
would either not be applied, or the browser might try to re-connect.

As for @media print - unfortunately, not supported by IE4/PC or
IE5/MAC, although those users tend to be in a minority. I have
stuck to the <link> method for delivering my print sheet as it
remains the most widely supported method at present.

A *really* good site for reference on support (across browsers and
platforms) for media specific sheets (screen, projection, aural,
braille, print, etc) and the different methods of applying them is:
http://www.codestyle.org/css/media/

Leo.

On 14 Mar 2002, at 21:47, Philip Pawley wrote:

> 2. I prefer to put my print rules at the end of my non-NS4 sheet like
> so:- @media print { body { background:white; } } I don't know whether
> the linked style sheet for printing only might create problems for
> somebody trying to print the page while off-line. Would all browsers
> call for the sheet when the page was requested, or would some wait
> until the user tried to print it? I don't know.



Leo Smith
Web Designer/Developer
USM Office of Publications and Marketing
University of Southern Maine
207-780-4774


----
To subscribe, unsubscribe, or view list archives,
visit http://www.webaim.org/discussion/