[jifty-devel] Multiple css links for different media

Jesse Vincent jesse at bestpractical.com
Thu Dec 14 16:39:16 EST 2006


On Dec 14, 2006, at 12: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?
>
> 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.
>
And of course, I meant "jifty", not "RT".

We're not -quite- ready to do RT in jifty yet. But when we do, we'll  
need this trick ;)


> -j
>
>> Regards,
>> Henry
>> _______________________________________________
>> jifty-devel mailing list
>> jifty-devel at lists.jifty.org
>> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
>>
>
> _______________________________________________
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2495 bytes
Desc: not available
Url : http://lists.bestpractical.com/pipermail/jifty-devel/attachments/20061214/9f0d3a2b/smime.bin


More information about the jifty-devel mailing list