HTML_CSS::toInline
HTML_CSS::toInline() – Return a string-properties for style attribute of an HTML element
Synopsis
require_once 'HTML/CSS.php';
string|PEAR_Error HTML_CSS::toInline (
string $element
)
Описание
Generate and return the CSS properties of an element or class as a string for inline use.
Parameter
-
string
$element
-
Element or class for which inline CSS should be generated
Throws
throws HTML_CSS_ERROR_INVALID_INPUT
Since
since version 0.2.0 (2003-07-31)
Замечание
This function can not be called statically.