[drraw-users] custom CSS via includes

Fabien Wernli wernli at in2p3.fr
Tue Nov 17 05:26:49 MST 2009


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'
				}
			),
		]
	}
);




More information about the drraw-users mailing list