LEGAL

#===========================================================================

Copyright (C) 2008 by Nik Ogura. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Bug reports and comments to nik.ogura@gmail.com.

#=========================================================================== =head1 NAME

CGI::Lazy::CSS

SYNOPSIS

        use CGI::Lazy;

        my $q = CGI::Lazy->new();


        print $q->header,

              $q->css->load('somefile.css');

DESCRIPTION

CGI::Lazy::CSS is just a convience module for accessing css files.

METHODS

dir ()

Returns directory containing css specified at lazy object creation

file (css)

Returns absolute path to file css parsed with document root and css directory

css

Css file name

load (file)

Reads file from css directory , wraps in script tags for output to browser

file

filename of cssfile

new ( q )

constructor.

q

CGI::Lazy object