[jifty-devel] Multiple css links for different media

Henry Baragar Henry.Baragar at instantiated.ca
Thu Dec 14 16:51:27 EST 2006


On Thursday, December 14 2006 03:58 pm, Jesse Vincent wrote:
> On Dec 14, 2006, at 9:11 AM, Henry Baragar wrote:
> > Hello,
> >
> > I am trying to figure out how to include multiple css links in the
> > <head>
> > section (beyond app.css and app-base.css) where the different links
> > are for
> > different media.
> >
> > The result we need would be something like the following:
> >
> >  <link href="app.css" media="all" rel="Stylesheet" type="text/css" />
> >  <link href="app-print.css" media="print" rel="Stylesheet"
> > type="text/css" />
> >
> > We do this so that the same html page is rendered differently on
> > the screen
> > than on the printer.  For example, we do not want to print the
> > navigation
> > bar.
>
> 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.

> To replace the default CSS links, you'll need to replace the default
> mason templates. We're working to make that more trtansparent, but
> have a look at the templates shipped with RT for now to see what
> names youn'd need to replace.
>
I this to mean:  

Copy the default (auto) web/templates/header file and add the link for 
printing.

Is this correct?

Henry

> -j
>
> > Regards,
> > Henry
> > _______________________________________________
> > 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