[jifty-devel] Multiple css links for different media

Henry Baragar Henry.Baragar at instantiated.ca
Thu Dec 21 12:04:01 EST 2006


On Thursday, December 14 2006 08:58 pm, Thomas Sibley wrote:
> Alex Vandiver wrote:
> > On Thu, 2006-12-14 at 16:51 -0500, Henry Baragar wrote:
> >>> There is also, I recall, a way to do this from within the sheet
> >>> itself. Is that right?
> >>
> >> Not that I know of, but I am not a CSS expert.
> >
> > Use the @media rule:
> >
> > @media print {
> >   .somecss { color: red }
> > }
>
> Even better (to keep the file separate), use an @import rule with the
> media qualified:
>
> @import "app-print.css" print;
>
> Put that as the first line in app.css (and it should Just Work).
>
Thank you Tom (and Alex).

It just Works as you say.

Regards,
Henry

> Tom
>
> _______________________________________________
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel


More information about the jifty-devel mailing list