HTML_CSS::getStyle

HTML_CSS::getStyle() – Return the value of a CSS property

Synopsis

require_once 'HTML/CSS.php';

mixed|PEAR_Error HTML_CSS::getStyle ( string $element , string $property )

Description

Get the value of a property to an identifed simple CSS element

Parameter

string $element

Element (or class) to be defined

string $property

Property defined

Throws

throws HTML_CSS_ERROR_INVALID_INPUT, HTML_CSS_ERROR_NO_ELEMENT, HTML_CSS_ERROR_NO_ELEMENT_PROPERTY

Since

since version 0.3.0 (2003-11-03)

Note

This function can not be called statically.