[jifty-devel] Multiple css links for different media
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:
>> I am trying to figure out how to include multiple css links in the
>> 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
> 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 ;)
>> jifty-devel mailing list
>> jifty-devel at lists.jifty.org
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
-------------- next part --------------
A non-text attachment was scrubbed...
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