The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

IWL::Style - a stylesheet object

INHERITANCE

IWL::Object -> IWL::Style

DESCRIPTION

The style object provides the <style type="text/css"> html markup, with all it's attributes.

CONSTRUCTOR

IWL::Style->new ([%ARGS])

Where %ARGS is an optional hash parameter with with key-values corresponding to the attributes that a regular <style> markup would have.

METHODS

setMedia (MEDIA)

Adds a "media='MEDIA'" attribute to <style>.

Parameter: MEDIA - the media target

getMedia

Returns the media type of the style

appendStyleImport (FILE)

Imports stylesheets from a file.

Parameter: FILE - the css file

appendStyle (STYLE)

Appends a stylesheet string to the current style.

Parameter: STYLE - the css string

LICENCE AND COPYRIGHT

Copyright (c) 2006-2007 Viktor Kojouharov. All rights reserved.

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

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 108:

You forgot a '=back' before '=head1'