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.

Handle selector and property values (Previous) Set or add a CSS definition (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.