[drraw-users] custom CSS via includes
Larry Brigman
larry.brigman at gmail.com
Tue Nov 17 09:45:58 MST 2009
On Tue, Nov 17, 2009 at 4:26 AM, Fabien Wernli <wernli at in2p3.fr> wrote:
> On Mon, Nov 16, 2009 at 03:32:28PM -0800, Larry Brigman wrote:
>> start_html(-style=>{-code=>"<!--\n$CSS\n$CSS2\n-->\n\n"},
>
> it turns out it wasn't quite what you were looking for after all.
> fwiw here it is anyway:
>
> print start_html(
> {
> -title => 'Take the red pill',
> -style => {
> -src=>'thematrix.css'
> },
> -head => [
> meta(
> {
> -http_equiv => 'refresh',
> -content => 1200
> }
> ),
> meta(
> {
> -http_equiv => 'cache-control',
> -content => 'no-cache'
> }
> ),
> Link(
> {
> -rel => 'icon',
> -href => 'barbu.ico',
> -type => 'image/x-icon'
> }
> ),
> Link(
> {
> -rel => 'shortcut icon',
> -href => 'barbu.ico',
> -type => 'image/x-icon'
> }
> ),
> ]
> }
> );
>
>
I may have asked this earlier but the way drraw is written at the
time, I couldn't solve it.
It still may take a re-write of several sections to handle this more cleanly.
More information about the drraw-users
mailing list