3214 Posts in 848 Topics by 810 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1568 Views |
-
changing link rel=stylesheet

9 February 2009 at 7:48am
With "Requirements::themedCSS('<cssfile>')" you get "<link rel="stylesheet" type="text/css" href="<cssfile>".
Do any parameters exist for themedCSS?
For example to get <link rel="stylesheet" type="text/css" media="screen" href="<cssfile>" or <link rel="stylesheet" type="text/css" media="print" .href="<cssfile>". -
Re: changing link rel=stylesheet

9 February 2009 at 10:26am Last edited: 9 February 2009 10:26am
The second parameter of Requirements::themedCSS() is the media type. Eg
Requirements::themedCSS('mycssprintfile', 'print');
| 1568 Views | ||
|
Page:
1
|
Go to Top |


