$id
$id : string
Specifies a unique id for an element.
A HTML element for stylesheets.
newContent(string $id, string $content, string|null $media = null) : \OpenEstate\PhpExport\Html\Stylesheet
Create an embedded stylesheet.
string | $id | id attribute |
string | $content | stylesheet code |
string|null | $media | media types |
created stylesheet element
newLink(string $id, string $href, string|null $media = null) : \OpenEstate\PhpExport\Html\Stylesheet
Create an external stylesheet.
string | $id | id attribute |
string | $href | URL of the external stylesheet |
string|null | $media | media types |
created stylesheet element