Home > Element Reference : Stylesheet

Contents

### Stylesheet

Declares a style sheet used by the binding. Using this element is preferred over using an XML processing instruction. The style rules in the style sheet will only be applied to the binding, not to other elements in the document.

Attributes:

id | src

#### Attributes:

##### id

Type: element id, must be unique in the window

A unique identifier so that you can identify the stylesheet with. You can use this as a parameter to getElementById and other DOM functions and to reference the element in style sheets.

##### src

The URL of the style sheet to apply to the binding content.

Copyright (C) 1999 - 2004 XulPlanet.com