Sophie

Sophie

distrib > Momonga > development > i686 > media > os > by-pkgid > 8094ac79f986f14af880f5f612391693 > files > 83

xml-commons-apis-manual-1.4.01-4m.mo8.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
 Generated: Thu Nov 09 17:44:51 EST 2000 jfouffa.w3.org
 -->
<html lang='en' xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Document Object Model CSS</title>
<link rel='stylesheet' type='text/css' href='./spec.css' />
<link rel='stylesheet' type='text/css' href='W3C-REC.css' />
<link rel='next' href='idl-definitions.html' />
<link rel='contents' href='Overview.html#contents' />
<link rel='index' href='def-index.html' />
<link rel='previous' href='stylesheets.html' />
</head>
<body>
<div class='navbar' align='center'><a accesskey='p'
href='stylesheets.html'>previous</a> &nbsp; <a accesskey='n'
href='idl-definitions.html'>next</a> &nbsp; <a accesskey='c'
href='Overview.html#contents'>contents</a> &nbsp; <a accesskey='i'
href='def-index.html'>index</a> 

<hr title='Navigation area separator' />
</div>

<div class='noprint' style='text-align: right'>
<p style='font-family: monospace;font-size:small'>13 November,
2000</p>
</div>

<div class='div1'><a id="CSS" name='CSS'></a> 

<h1 id='CSS-h1' class='div1'>2. Document Object Model CSS</h1>

<dl>
<dt><i>Editors</i></dt>

<dd>Chris Wilson, Microsoft Corp.</dd>

<dd>Philippe Le H&eacute;garet, W3C</dd>

<dd>Vidur Apparao, Netscape Communications Corp.</dd>
</dl>

<div class='noprint'>
<h2 id='table-of-contents'>Table of contents</h2>

<ul class='toc'>
<li class='tocline3'><a class='tocxref' href='#CSS-overview'>2.1.
Overview of the DOM Level 2 CSS Interfaces</a></li>

<li class='tocline3'><a class='tocxref'
href='#CSS-fundamental'>2.2. CSS Fundamental Interfaces</a> 

<ul class='toc'>
<li class='tocline4'><a
href='#CSS-CSSStyleSheet'>CSSStyleSheet</a>, <a
href='#CSS-CSSRuleList'>CSSRuleList</a>, <a
href='#CSS-CSSRule'>CSSRule</a>, <a
href='#CSS-CSSStyleRule'>CSSStyleRule</a>, <a
href='#CSS-CSSMediaRule'>CSSMediaRule</a>, <a
href='#CSS-CSSFontFaceRule'>CSSFontFaceRule</a>, <a
href='#CSS-CSSPageRule'>CSSPageRule</a>, <a
href='#CSS-CSSImportRule'>CSSImportRule</a>, <a
href='#CSS-CSSCharsetRule'>CSSCharsetRule</a>, <a
href='#CSS-CSSUnknownRule'>CSSUnknownRule</a>, <a
href='#CSS-CSSStyleDeclaration'>CSSStyleDeclaration</a>, <a
href='#CSS-CSSValue'>CSSValue</a>, <a
href='#CSS-CSSPrimitiveValue'>CSSPrimitiveValue</a>, <a
href='#CSS-CSSValueList'>CSSValueList</a>, <a
href='#CSS-RGBColor'>RGBColor</a>, <a href='#CSS-Rect'>Rect</a>, <a
href='#CSS-Counter'>Counter</a></li>

<li class='tocline4'><a class='tocxref'
href='#CSS-OverrideAndComputed'>2.2.1. Override and computed style
sheet</a> 

<ul>
<li class='tocline5'><a href='#CSS-ViewCSS'>ViewCSS</a>, <a
href='#CSS-DocumentCSS'>DocumentCSS</a></li>
</ul>
</li>

<li class='tocline4'><a class='tocxref'
href='#CSS-StyleSheetCreation'>2.2.2. Style sheet creation</a> 

<ul>
<li class='tocline5'><a
href='#CSS-DOMImplementationCSS'>DOMImplementationCSS</a></li>
</ul>
</li>

<li class='tocline4'><a class='tocxref'
href='#CSS-htmlelementcss'>2.2.3. Element with CSS inline style</a>


<ul>
<li class='tocline5'><a
href='#CSS-ElementCSSInlineStyle'>ElementCSSInlineStyle</a></li>
</ul>
</li>
</ul>
</li>

<li class='tocline3'><a class='tocxref' href='#CSS-extended'>2.3.
CSS2 Extended Interface</a> 

<ul class='toc'>
<li class='tocline4'><a
href='#CSS-CSS2Properties'>CSS2Properties</a></li>
</ul>
</li>
</ul>
</div>

<div class='div2'><a id="CSS-overview" name='CSS-overview'></a> 

<h2 id='CSS-overview-h2' class='div2'>2.1. Overview of the DOM
Level 2 CSS Interfaces</h2>

<p>The DOM Level 2 Cascading Style Sheets (<a
href='http://www.w3.org/Style/CSS'>CSS</a>) interfaces are designed
with the goal of exposing CSS constructs to object model consumers.
Cascading Style Sheets is a declarative syntax for defining
presentation rules, properties and ancillary constructs used to
format and render Web documents. This document specifies a
mechanism to programmatically access and modify the rich style and
presentation control provided by CSS (specifically CSS level 2 [<a
class='noxref' href='references.html#CSS2'>CSS2</a>]). This
augments CSS by providing a mechanism to dynamically control the
inclusion and exclusion of individual style sheets, as well as
manipulate CSS rules and properties.</p>

<p>The CSS interfaces are organized in a logical, rather than
physical structure. A collection of all style sheets referenced by
or embedded in the document is accessible on the document
interface. Each item in this collection exposes the properties
common to all style sheets referenced or embedded in HTML and XML
documents; this interface is described in the <a
href='stylesheets.html#StyleSheets'>Document Object Model Style
Sheets</a>. User style sheets are not accessible through this
collection, in part due to potential privacy concerns (and
certainly read-write issues).</p>

<p>For each CSS style sheet, an additional interface is exposed -
the <a
href='css.html#CSS-CSSStyleSheet'><code>CSSStyleSheet</code></a>
interface. This interface allows access to the collection of rules
within a CSS style sheet and methods to modify that collection.
Interfaces are provided for each specific type of rule in CSS2
(e.g. style declarations, <code>@import</code> rules, or
<code>@font-face</code> rules), as well as a shared generic <a
href='css.html#CSS-CSSRule'><code>CSSRule</code></a> interface.</p>

<p>The most common type of rule is a style declaration. The <a
href='css.html#CSS-CSSStyleRule'><code>CSSStyleRule</code></a>
interface that represents this type of rule provides string access
to the CSS selector of the rule, and access to the property
declarations through the <a
href='css.html#CSS-CSSStyleDeclaration'><code>CSSStyleDeclaration</code></a>
interface.</p>

<p>Finally, an optional <a
href='css.html#CSS-CSS2Properties'><code>CSS2Properties</code></a>
interface is described; this interface (if implemented) provides
shortcuts to the string values of all the properties in CSS level
2.</p>

<p>All CSS objects in the DOM are "live", that is, a change in the
style sheet is reflected in the computed and actual style.</p>
</div>

<!-- div2 CSS-overview -->
<div class='div2'><a id="CSS-fundamental"
name='CSS-fundamental'></a> 

<h2 id='CSS-fundamental-h2' class='div2'>2.2. CSS Fundamental
Interfaces</h2>

<p>The interfaces within this section are considered fundamental
CSS interfaces, and must be supported by all conforming
implementations of the CSS module. These interfaces represent CSS
style sheets specifically.</p>

<p>A DOM application may use the <code>hasFeature(feature,
version)</code> method of the <code>DOMImplementation</code>
interface with parameter values "CSS" and "2.0" (respectively) to
determine whether or not this module is supported by the
implementation. In order to fully support this module, an
implementation must also support the "Core" feature defined defined
in the DOM Level 2 Core specification [<a class='noxref'
href='references.html#DOMCore'>DOM Level 2 Core</a>] and the
"Views" feature defined in the DOM Level 2 Views specification [<a
class='noxref' href='references.html#DOMViews'>DOM Level 2
Views</a>]. Please refer to additional information about <a
href='http://www.w3.org/TR/DOM-Level-2-Core/introduction.html#ID-Conformance'>
<em>conformance</em></a> in the DOM Level 2 Core specification [<a
class='noxref' href='references.html#DOMCore'>DOM Level 2
Core</a>].</p>

<dl>
<dt><b>Interface <i><a id="CSS-CSSStyleSheet"
name='CSS-CSSStyleSheet'>CSSStyleSheet</a></i></b> (introduced in
<b class='since'>DOM Level 2</b>)</dt>

<dd>
<p>The <code>CSSStyleSheet</code> interface is a concrete interface
used to represent a CSS style sheet i.e., a style sheet whose
content type is "text/css".</p>

<dl>
<dt><br />
<b>IDL Definition</b></dt>

<dd>
<div class='idl-code'>
<pre>
// Introduced in DOM Level 2:
interface CSSStyleSheet : stylesheets::StyleSheet {
  readonly attribute CSSRule          ownerRule;
  readonly attribute CSSRuleList      cssRules;
  unsigned long      insertRule(in DOMString rule, 
                                in unsigned long index)
                                        raises(DOMException);
  void               deleteRule(in unsigned long index)
                                        raises(DOMException);
};
</pre>
</div>

<br />
</dd>

<dt><b>Attributes</b></dt>

<dd>
<dl>
<dt><code class='attribute-name'><a id="CSS-CSSStyleSheet-cssRules"
name='CSS-CSSStyleSheet-cssRules'>cssRules</a></code> of type <a
href='css.html#CSS-CSSRuleList'><code>CSSRuleList</code></a>,
readonly</dt>

<dd>The list of all CSS rules contained within the style sheet.
This includes both <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#q8'><em>
rule sets</em></a> and <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#at-rules'>
<em>at-rules</em></a>.<br />
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSSStyleSheet-ownerRule"
name='CSS-CSSStyleSheet-ownerRule'>ownerRule</a></code> of type <a
href='css.html#CSS-CSSRule'><code>CSSRule</code></a>, readonly</dt>

<dd>If this style sheet comes from an <code>@import</code> rule,
the <code>ownerRule</code> attribute will contain the <a
href='css.html#CSS-CSSImportRule'><code>CSSImportRule</code></a>.
In that case, the <code>ownerNode</code> attribute in the <a
href='stylesheets.html#StyleSheets-StyleSheet'><code>StyleSheet</code></a>
interface will be <code>null</code>. If the style sheet comes from
an element or a processing instruction, the <code>ownerRule</code>
attribute will be <code>null</code> and the <code>ownerNode</code>
attribute will contain the <code>Node</code>.<br />
</dd>
</dl>
</dd>

<dt><b>Methods</b></dt>

<dd>
<dl>
<dt><code class='method-name'><a id="CSS-CSSStyleSheet-deleteRule"
name='CSS-CSSStyleSheet-deleteRule'>deleteRule</a></code></dt>

<dd>
<div class='method'>Used to delete a rule from the style sheet. 

<div class='parameters'><b>Parameters</b> 

<div class='paramtable'>
<dl>
<dt><code class='parameter-name'>index</code> of type
<code>unsigned long</code></dt>

<dd>The index within the style sheet's rule list of the rule to
remove.<br />
</dd>
</dl>
</div>
</div>

<!-- parameters -->
<div class='exceptions'><b>Exceptions</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>INDEX_SIZE_ERR: Raised if the specified index does not
correspond to a rule in the style sheet's rule list.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this style sheet is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
<div><b>No Return Value</b></div>
</div>

<!-- method -->
</dd>

<dt><code class='method-name'><a id="CSS-CSSStyleSheet-insertRule"
name='CSS-CSSStyleSheet-insertRule'>insertRule</a></code></dt>

<dd>
<div class='method'>Used to insert a new rule into the style sheet.
The new rule now becomes part of the cascade. 

<div class='parameters'><b>Parameters</b> 

<div class='paramtable'>
<dl>
<dt><code class='parameter-name'>rule</code> of type
<code>DOMString</code></dt>

<dd>The parsable text representing the rule. For rule sets this
contains both the selector and the style declaration. For at-rules,
this specifies both the at-identifier and the rule content.<br />
</dd>

<dt><code class='parameter-name'>index</code> of type
<code>unsigned long</code></dt>

<dd>The index within the style sheet's rule list of the rule before
which to insert the specified rule. If the specified index is equal
to the length of the style sheet's rule collection, the rule will
be added to the end of the style sheet.<br />
</dd>
</dl>
</div>
</div>

<!-- parameters -->
<div class='return'><b>Return Value</b> 

<div class='returntable'>
<table
summary='Layout table: the first cell contains the type of the return value, the second contains a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>unsigned long</code></p>
</td>
<td>
<p>The index within the style sheet's rule collection of the newly
inserted rule.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- return -->
<div class='exceptions'><b>Exceptions</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>HIERARCHY_REQUEST_ERR: Raised if the rule cannot be inserted at
the specified index e.g. if an <code>@import</code> rule is
inserted after a standard rule set or other at-rule.</p>

<p>INDEX_SIZE_ERR: Raised if the specified index is not a valid
insertion point.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this style sheet is
readonly.</p>

<p>SYNTAX_ERR: Raised if the specified rule has a syntax error and
is unparsable.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</div>

<!-- method -->
</dd>
</dl>
</dd>
</dl>
</dd>

<dt><b>Interface <i><a id="CSS-CSSRuleList"
name='CSS-CSSRuleList'>CSSRuleList</a></i></b> (introduced in <b
class='since'>DOM Level 2</b>)</dt>

<dd>
<p>The <code>CSSRuleList</code> interface provides the abstraction
of an ordered collection of CSS rules.</p>

<p>The items in the <code>CSSRuleList</code> are accessible via an
integral index, starting from 0.</p>

<dl>
<dt><br />
<b>IDL Definition</b></dt>

<dd>
<div class='idl-code'>
<pre>
// Introduced in DOM Level 2:
interface CSSRuleList {
  readonly attribute unsigned long    length;
  CSSRule            item(in unsigned long index);
};
</pre>
</div>

<br />
</dd>

<dt><b>Attributes</b></dt>

<dd>
<dl>
<dt><code class='attribute-name'><a id="CSS-CSSRuleList-length"
name='CSS-CSSRuleList-length'>length</a></code> of type
<code>unsigned long</code>, readonly</dt>

<dd>The number of <a
href='css.html#CSS-CSSRule'><code>CSSRules</code></a> in the list.
The range of valid child rule indices is <code>0</code> to
<code>length-1</code> inclusive.<br />
</dd>
</dl>
</dd>

<dt><b>Methods</b></dt>

<dd>
<dl>
<dt><code class='method-name'><a id="CSS-CSSRuleList-item"
name='CSS-CSSRuleList-item'>item</a></code></dt>

<dd>
<div class='method'>Used to retrieve a CSS rule by ordinal index.
The order in this collection represents the order of the rules in
the CSS style sheet. If index is greater than or equal to the
number of rules in the list, this returns <code>null</code>. 

<div class='parameters'><b>Parameters</b> 

<div class='paramtable'>
<dl>
<dt><code class='parameter-name'>index</code> of type
<code>unsigned long</code></dt>

<dd>Index into the collection<br />
</dd>
</dl>
</div>
</div>

<!-- parameters -->
<div class='return'><b>Return Value</b> 

<div class='returntable'>
<table
summary='Layout table: the first cell contains the type of the return value, the second contains a short description'
 border='0'>
<tr>
<td valign='top'>
<p><a href='css.html#CSS-CSSRule'><code>CSSRule</code></a></p>
</td>
<td>
<p>The style rule at the <code>index</code> position in the
<code>CSSRuleList</code>, or <code>null</code> if that is not a
valid index.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- return -->
<div><b>No Exceptions</b></div>
</div>

<!-- method -->
</dd>
</dl>
</dd>
</dl>
</dd>

<dt><b>Interface <i><a id="CSS-CSSRule"
name='CSS-CSSRule'>CSSRule</a></i></b> (introduced in <b
class='since'>DOM Level 2</b>)</dt>

<dd>
<p>The <code>CSSRule</code> interface is the abstract base
interface for any type of CSS <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#q5'><em>
statement</em></a>. This includes both <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#q8'><em>
rule sets</em></a> and <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#at-rules'>
<em>at-rules</em></a>. An implementation is expected to preserve
all rules specified in a CSS style sheet, even if the rule is not
recognized by the parser. Unrecognized rules are represented using
the <a
href='css.html#CSS-CSSUnknownRule'><code>CSSUnknownRule</code></a>
interface.</p>

<dl>
<dt><br />
<b>IDL Definition</b></dt>

<dd>
<div class='idl-code'>
<pre>
// Introduced in DOM Level 2:
interface CSSRule {

  // RuleType
  const unsigned short      UNKNOWN_RULE                   = 0;
  const unsigned short      STYLE_RULE                     = 1;
  const unsigned short      CHARSET_RULE                   = 2;
  const unsigned short      IMPORT_RULE                    = 3;
  const unsigned short      MEDIA_RULE                     = 4;
  const unsigned short      FONT_FACE_RULE                 = 5;
  const unsigned short      PAGE_RULE                      = 6;

  readonly attribute unsigned short   type;
           attribute DOMString        cssText;
                                        // raises(DOMException) on setting

  readonly attribute CSSStyleSheet    parentStyleSheet;
  readonly attribute CSSRule          parentRule;
};
</pre>
</div>

<br />
</dd>

<dt><b>Definition group <i><a id="CSS-CSSRule-ruleType"
name='CSS-CSSRule-ruleType'>RuleType</a></i></b></dt>

<dd>
<p>An integer indicating which type of rule this is.</p>

<dl>
<dt><b>Defined Constants</b></dt>

<dd>
<dl>
<dt><code class='constant-name'>CHARSET_RULE</code></dt>

<dd>The rule is a <a
href='css.html#CSS-CSSCharsetRule'><code>CSSCharsetRule</code></a>.</dd>

<dt><code class='constant-name'>FONT_FACE_RULE</code></dt>

<dd>The rule is a <a
href='css.html#CSS-CSSFontFaceRule'><code>CSSFontFaceRule</code></a>.</dd>

<dt><code class='constant-name'>IMPORT_RULE</code></dt>

<dd>The rule is a <a
href='css.html#CSS-CSSImportRule'><code>CSSImportRule</code></a>.</dd>

<dt><code class='constant-name'>MEDIA_RULE</code></dt>

<dd>The rule is a <a
href='css.html#CSS-CSSMediaRule'><code>CSSMediaRule</code></a>.</dd>

<dt><code class='constant-name'>PAGE_RULE</code></dt>

<dd>The rule is a <a
href='css.html#CSS-CSSPageRule'><code>CSSPageRule</code></a>.</dd>

<dt><code class='constant-name'>STYLE_RULE</code></dt>

<dd>The rule is a <a
href='css.html#CSS-CSSStyleRule'><code>CSSStyleRule</code></a>.</dd>

<dt><code class='constant-name'>UNKNOWN_RULE</code></dt>

<dd>The rule is a <a
href='css.html#CSS-CSSUnknownRule'><code>CSSUnknownRule</code></a>.</dd>
</dl>
</dd>
</dl>
</dd>

<dt><b>Attributes</b></dt>

<dd>
<dl>
<dt><code class='attribute-name'><a id="CSS-CSSRule-cssText"
name='CSS-CSSRule-cssText'>cssText</a></code> of type
<code>DOMString</code></dt>

<dd>The parsable textual representation of the rule. This reflects
the current state of the rule and not its initial value.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the specified CSS string value has a
syntax error and is unparsable.</p>

<p>INVALID_MODIFICATION_ERR: Raised if the specified CSS string
value represents a different type of rule than the current one.</p>

<p>HIERARCHY_REQUEST_ERR: Raised if the rule cannot be inserted at
this point in the style sheet.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if the rule is readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSSRule-parentRule"
name='CSS-CSSRule-parentRule'>parentRule</a></code> of type <a
href='css.html#CSS-CSSRule'><code>CSSRule</code></a>, readonly</dt>

<dd>If this rule is contained inside another rule (e.g. a style
rule inside an @media block), this is the containing rule. If this
rule is not nested inside any other rules, this returns
<code>null</code>.<br />
</dd>

<dt><code class='attribute-name'><a id="CSS-CSSRule-sheet"
name='CSS-CSSRule-sheet'>parentStyleSheet</a></code> of type <a
href='css.html#CSS-CSSStyleSheet'><code>CSSStyleSheet</code></a>,
readonly</dt>

<dd>The style sheet that contains this rule.<br />
</dd>

<dt><code class='attribute-name'><a id="CSS-CSSRule-type"
name='CSS-CSSRule-type'>type</a></code> of type <code>unsigned
short</code>, readonly</dt>

<dd>The type of the rule, as defined above. The expectation is that
binding-specific casting methods can be used to cast down from an
instance of the <code>CSSRule</code> interface to the specific
derived interface implied by the <code>type</code>.<br />
</dd>
</dl>
</dd>
</dl>
</dd>

<dt><b>Interface <i><a id="CSS-CSSStyleRule"
name='CSS-CSSStyleRule'>CSSStyleRule</a></i></b> (introduced in <b
class='since'>DOM Level 2</b>)</dt>

<dd>
<p>The <code>CSSStyleRule</code> interface represents a single <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#q8'><em>
rule set</em></a> in a CSS style sheet.</p>

<dl>
<dt><br />
<b>IDL Definition</b></dt>

<dd>
<div class='idl-code'>
<pre>
// Introduced in DOM Level 2:
interface CSSStyleRule : CSSRule {
           attribute DOMString        selectorText;
                                        // raises(DOMException) on setting

  readonly attribute CSSStyleDeclaration  style;
};
</pre>
</div>

<br />
</dd>

<dt><b>Attributes</b></dt>

<dd>
<dl>
<dt><code class='attribute-name'><a
id="CSS-CSSStyleRule-selectorText"
name='CSS-CSSStyleRule-selectorText'>selectorText</a></code> of
type <code>DOMString</code></dt>

<dd>The textual representation of the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/selector.html'><em>
selector</em></a> for the rule set. The implementation may have
stripped out insignificant whitespace while parsing the
selector.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the specified CSS string value has a
syntax error and is unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this rule is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSSStyleRule-style"
name='CSS-CSSStyleRule-style'>style</a></code> of type <a
href='css.html#CSS-CSSStyleDeclaration'><code>CSSStyleDeclaration</code></a>,
readonly</dt>

<dd>The <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#q8'><em>
declaration-block</em></a> of this rule set.<br />
</dd>
</dl>
</dd>
</dl>
</dd>

<dt><b>Interface <i><a id="CSS-CSSMediaRule"
name='CSS-CSSMediaRule'>CSSMediaRule</a></i></b> (introduced in <b
class='since'>DOM Level 2</b>)</dt>

<dd>
<p>The <code>CSSMediaRule</code> interface represents a <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/media.html#at-media-rule'>
<em>@media rule</em></a> in a CSS style sheet. A
<code>@media</code> rule can be used to delimit style rules for
specific media types.</p>

<dl>
<dt><br />
<b>IDL Definition</b></dt>

<dd>
<div class='idl-code'>
<pre>
// Introduced in DOM Level 2:
interface CSSMediaRule : CSSRule {
  readonly attribute stylesheets::MediaList  media;
  readonly attribute CSSRuleList      cssRules;
  unsigned long      insertRule(in DOMString rule, 
                                in unsigned long index)
                                        raises(DOMException);
  void               deleteRule(in unsigned long index)
                                        raises(DOMException);
};
</pre>
</div>

<br />
</dd>

<dt><b>Attributes</b></dt>

<dd>
<dl>
<dt><code class='attribute-name'><a id="CSS-CSSMediaRule-cssRules"
name='CSS-CSSMediaRule-cssRules'>cssRules</a></code> of type <a
href='css.html#CSS-CSSRuleList'><code>CSSRuleList</code></a>,
readonly</dt>

<dd>A list of all CSS rules contained within the media block.<br />
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSSMediaRule-mediaTypes"
name='CSS-CSSMediaRule-mediaTypes'>media</a></code> of type
<code>stylesheets::MediaList</code>, readonly</dt>

<dd>A list of <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/media.html#media-types'>
<em>media types</em></a> for this rule.<br />
</dd>
</dl>
</dd>

<dt><b>Methods</b></dt>

<dd>
<dl>
<dt><code class='method-name'><a id="CSS-CSSMediaRule-deleteRule"
name='CSS-CSSMediaRule-deleteRule'>deleteRule</a></code></dt>

<dd>
<div class='method'>Used to delete a rule from the media block. 

<div class='parameters'><b>Parameters</b> 

<div class='paramtable'>
<dl>
<dt><code class='parameter-name'>index</code> of type
<code>unsigned long</code></dt>

<dd>The index within the media block's rule collection of the rule
to remove.<br />
</dd>
</dl>
</div>
</div>

<!-- parameters -->
<div class='exceptions'><b>Exceptions</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>INDEX_SIZE_ERR: Raised if the specified index does not
correspond to a rule in the media rule list.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this media rule is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
<div><b>No Return Value</b></div>
</div>

<!-- method -->
</dd>

<dt><code class='method-name'><a id="CSS-CSSMediaRule-insertRule"
name='CSS-CSSMediaRule-insertRule'>insertRule</a></code></dt>

<dd>
<div class='method'>Used to insert a new rule into the media block.


<div class='parameters'><b>Parameters</b> 

<div class='paramtable'>
<dl>
<dt><code class='parameter-name'>rule</code> of type
<code>DOMString</code></dt>

<dd>The parsable text representing the rule. For rule sets this
contains both the selector and the style declaration. For at-rules,
this specifies both the at-identifier and the rule content.<br />
</dd>

<dt><code class='parameter-name'>index</code> of type
<code>unsigned long</code></dt>

<dd>The index within the media block's rule collection of the rule
before which to insert the specified rule. If the specified index
is equal to the length of the media blocks's rule collection, the
rule will be added to the end of the media block.<br />
</dd>
</dl>
</div>
</div>

<!-- parameters -->
<div class='return'><b>Return Value</b> 

<div class='returntable'>
<table
summary='Layout table: the first cell contains the type of the return value, the second contains a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>unsigned long</code></p>
</td>
<td>
<p>The index within the media block's rule collection of the newly
inserted rule.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- return -->
<div class='exceptions'><b>Exceptions</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>HIERARCHY_REQUEST_ERR: Raised if the rule cannot be inserted at
the specified index, e.g., if an <code>@import</code> rule is
inserted after a standard rule set or other at-rule.</p>

<p>INDEX_SIZE_ERR: Raised if the specified index is not a valid
insertion point.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this media rule is
readonly.</p>

<p>SYNTAX_ERR: Raised if the specified rule has a syntax error and
is unparsable.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</div>

<!-- method -->
</dd>
</dl>
</dd>
</dl>
</dd>

<dt><b>Interface <i><a id="CSS-CSSFontFaceRule"
name='CSS-CSSFontFaceRule'>CSSFontFaceRule</a></i></b> (introduced
in <b class='since'>DOM Level 2</b>)</dt>

<dd>
<p>The <code>CSSFontFaceRule</code> interface represents a <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/fonts.html#font-descriptions'>
<em>@font-face rule</em></a> in a CSS style sheet. The
<code>@font-face</code> rule is used to hold a set of font
descriptions.</p>

<dl>
<dt><br />
<b>IDL Definition</b></dt>

<dd>
<div class='idl-code'>
<pre>
// Introduced in DOM Level 2:
interface CSSFontFaceRule : CSSRule {
  readonly attribute CSSStyleDeclaration  style;
};
</pre>
</div>

<br />
</dd>

<dt><b>Attributes</b></dt>

<dd>
<dl>
<dt><code class='attribute-name'><a id="CSS-CSSFontFaceRule-style"
name='CSS-CSSFontFaceRule-style'>style</a></code> of type <a
href='css.html#CSS-CSSStyleDeclaration'><code>CSSStyleDeclaration</code></a>,
readonly</dt>

<dd>The <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#q8'><em>
declaration-block</em></a> of this rule.<br />
</dd>
</dl>
</dd>
</dl>
</dd>

<dt><b>Interface <i><a id="CSS-CSSPageRule"
name='CSS-CSSPageRule'>CSSPageRule</a></i></b> (introduced in <b
class='since'>DOM Level 2</b>)</dt>

<dd>
<p>The <code>CSSPageRule</code> interface represents a <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/page.html#page-box'>
<em>@page rule</em></a> within a CSS style sheet. The
<code>@page</code> rule is used to specify the dimensions,
orientation, margins, etc. of a page box for paged media.</p>

<dl>
<dt><br />
<b>IDL Definition</b></dt>

<dd>
<div class='idl-code'>
<pre>
// Introduced in DOM Level 2:
interface CSSPageRule : CSSRule {
           attribute DOMString        selectorText;
                                        // raises(DOMException) on setting

  readonly attribute CSSStyleDeclaration  style;
};
</pre>
</div>

<br />
</dd>

<dt><b>Attributes</b></dt>

<dd>
<dl>
<dt><code class='attribute-name'><a id="CSS-CSSPageRule-name"
name='CSS-CSSPageRule-name'>selectorText</a></code> of type
<code>DOMString</code></dt>

<dd>The parsable textual representation of the page selector for
the rule.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the specified CSS string value has a
syntax error and is unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this rule is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSSPageRule-style"
name='CSS-CSSPageRule-style'>style</a></code> of type <a
href='css.html#CSS-CSSStyleDeclaration'><code>CSSStyleDeclaration</code></a>,
readonly</dt>

<dd>The <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#q8'><em>
declaration-block</em></a> of this rule.<br />
</dd>
</dl>
</dd>
</dl>
</dd>

<dt><b>Interface <i><a id="CSS-CSSImportRule"
name='CSS-CSSImportRule'>CSSImportRule</a></i></b> (introduced in
<b class='since'>DOM Level 2</b>)</dt>

<dd>
<p>The <code>CSSImportRule</code> interface represents a <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/cascade.html#at-import'>
<em>@import rule</em></a> within a CSS style sheet. The
<code>@import</code> rule is used to import style rules from other
style sheets.</p>

<dl>
<dt><br />
<b>IDL Definition</b></dt>

<dd>
<div class='idl-code'>
<pre>
// Introduced in DOM Level 2:
interface CSSImportRule : CSSRule {
  readonly attribute DOMString        href;
  readonly attribute stylesheets::MediaList  media;
  readonly attribute CSSStyleSheet    styleSheet;
};
</pre>
</div>

<br />
</dd>

<dt><b>Attributes</b></dt>

<dd>
<dl>
<dt><code class='attribute-name'><a id="CSS-CSSImportRule-href"
name='CSS-CSSImportRule-href'>href</a></code> of type
<code>DOMString</code>, readonly</dt>

<dd>The location of the style sheet to be imported. The attribute
will not contain the <code>"url(...)"</code> specifier around the
URI.<br />
</dd>

<dt><code class='attribute-name'><a id="CSS-CSSImportRule-media"
name='CSS-CSSImportRule-media'>media</a></code> of type
<code>stylesheets::MediaList</code>, readonly</dt>

<dd>A list of media types for which this style sheet may be
used.<br />
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSSImportRule-styleSheet"
name='CSS-CSSImportRule-styleSheet'>styleSheet</a></code> of type
<a
href='css.html#CSS-CSSStyleSheet'><code>CSSStyleSheet</code></a>,
readonly</dt>

<dd>The style sheet referred to by this rule, if it has been
loaded. The value of this attribute is <code>null</code> if the
style sheet has not yet been loaded or if it will not be loaded
(e.g. if the style sheet is for a media type not supported by the
user agent).<br />
</dd>
</dl>
</dd>
</dl>
</dd>

<dt><b>Interface <i><a id="CSS-CSSCharsetRule"
name='CSS-CSSCharsetRule'>CSSCharsetRule</a></i></b> (introduced in
<b class='since'>DOM Level 2</b>)</dt>

<dd>
<p>The <code>CSSCharsetRule</code> interface represents a <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#x66'>
<em>@charset rule</em></a> in a CSS style sheet. The value of the
<code>encoding</code> attribute does not affect the encoding of
text data in the DOM objects; this encoding is always UTF-16. After
a stylesheet is loaded, the value of the <code>encoding</code>
attribute is the value found in the <code>@charset</code> rule. If
there was no <code>@charset</code> in the original document, then
no <code>CSSCharsetRule</code> is created. The value of the
<code>encoding</code> attribute may also be used as a hint for the
encoding used on serialization of the style sheet.</p>

<p>The value of the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#x66'>
<em>@charset rule</em></a> (and therefore of the
<code>CSSCharsetRule</code>) may not correspond to the encoding the
document actually came in; character encoding information e.g. in
an HTTP header, has priority (see <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#x66'>
<em>CSS document representation</em></a>) but this is not reflected
in the <code>CSSCharsetRule</code>.</p>

<dl>
<dt><br />
<b>IDL Definition</b></dt>

<dd>
<div class='idl-code'>
<pre>
// Introduced in DOM Level 2:
interface CSSCharsetRule : CSSRule {
           attribute DOMString        encoding;
                                        // raises(DOMException) on setting

};
</pre>
</div>

<br />
</dd>

<dt><b>Attributes</b></dt>

<dd>
<dl>
<dt><code class='attribute-name'><a
id="CSS-CSSCharsetRule-encoding"
name='CSS-CSSCharsetRule-encoding'>encoding</a></code> of type
<code>DOMString</code></dt>

<dd>The encoding information used in this <code>@charset</code>
rule.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the specified encoding value has a syntax
error and is unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this encoding rule is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>
</dl>
</dd>
</dl>
</dd>

<dt><b>Interface <i><a id="CSS-CSSUnknownRule"
name='CSS-CSSUnknownRule'>CSSUnknownRule</a></i></b> (introduced in
<b class='since'>DOM Level 2</b>)</dt>

<dd>
<p>The <code>CSSUnknownRule</code> interface represents an at-rule
not supported by this user agent.</p>

<dl>
<dt><br />
<b>IDL Definition</b></dt>

<dd>
<div class='idl-code'>
<pre>
// Introduced in DOM Level 2:
interface CSSUnknownRule : CSSRule {
};
</pre>
</div>

<br />
</dd>
</dl>
</dd>

<dt><b>Interface <i><a id="CSS-CSSStyleDeclaration"
name='CSS-CSSStyleDeclaration'>CSSStyleDeclaration</a></i></b>
(introduced in <b class='since'>DOM Level 2</b>)</dt>

<dd>
<p>The <code>CSSStyleDeclaration</code> interface represents a
single <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#block'>
<em>CSS declaration block</em></a>. This interface may be used to
determine the style properties currently set in a block or to set
style properties explicitly within the block.</p>

<p>While an implementation may not recognize all CSS properties
within a CSS declaration block, it is expected to provide access to
all specified properties in the style sheet through the
<code>CSSStyleDeclaration</code> interface. Furthermore,
implementations that support a specific level of CSS should
correctly handle <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/about.html#shorthand'>
<em>CSS shorthand</em></a> properties for that level. For a further
discussion of shorthand properties, see the <a
href='css.html#CSS-CSS2Properties'><code>CSS2Properties</code></a>
interface.</p>

<p>This interface is also used to provide a <b>read-only</b> access
to the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/cascade.html#computed-value'>
<em>computed values</em></a> of an element. See also the <a
href='css.html#CSS-ViewCSS'><code>ViewCSS</code></a> interface.</p>

<p><b>Note:</b> The CSS Object Model doesn't provide an access to
the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/cascade.html#specified-value'>
<em>specified</em></a> or <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/cascade.html#specified-value'>
<em>actual</em></a> values of the CSS cascade.</p>

<dl>
<dt><br />
<b>IDL Definition</b></dt>

<dd>
<div class='idl-code'>
<pre>
// Introduced in DOM Level 2:
interface CSSStyleDeclaration {
           attribute DOMString        cssText;
                                        // raises(DOMException) on setting

  DOMString          getPropertyValue(in DOMString propertyName);
  CSSValue           getPropertyCSSValue(in DOMString propertyName);
  DOMString          removeProperty(in DOMString propertyName)
                                        raises(DOMException);
  DOMString          getPropertyPriority(in DOMString propertyName);
  void               setProperty(in DOMString propertyName, 
                                 in DOMString value, 
                                 in DOMString priority)
                                        raises(DOMException);
  readonly attribute unsigned long    length;
  DOMString          item(in unsigned long index);
  readonly attribute CSSRule          parentRule;
};
</pre>
</div>

<br />
</dd>

<dt><b>Attributes</b></dt>

<dd>
<dl>
<dt><code class='attribute-name'><a
id="CSS-CSSStyleDeclaration-cssText"
name='CSS-CSSStyleDeclaration-cssText'>cssText</a></code> of type
<code>DOMString</code></dt>

<dd>The parsable textual representation of the declaration block
(excluding the surrounding curly braces). Setting this attribute
will result in the parsing of the new value and resetting of all
the properties in the declaration block including the removal or
addition of properties.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the specified CSS string value has a
syntax error and is unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this declaration is
readonly or a property is readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSSStyleDeclaration-length"
name='CSS-CSSStyleDeclaration-length'>length</a></code> of type
<code>unsigned long</code>, readonly</dt>

<dd>The number of properties that have been explicitly set in this
declaration block. The range of valid indices is 0 to length-1
inclusive.<br />
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSSStyleDeclaration-parentRule"
name='CSS-CSSStyleDeclaration-parentRule'>parentRule</a></code> of
type <a href='css.html#CSS-CSSRule'><code>CSSRule</code></a>,
readonly</dt>

<dd>The CSS rule that contains this declaration block or
<code>null</code> if this <code>CSSStyleDeclaration</code> is not
attached to a <a
href='css.html#CSS-CSSRule'><code>CSSRule</code></a>.<br />
</dd>
</dl>
</dd>

<dt><b>Methods</b></dt>

<dd>
<dl>
<dt><code class='method-name'><a
id="CSS-CSSStyleDeclaration-getPropertyCSSValue"
name='CSS-CSSStyleDeclaration-getPropertyCSSValue'>getPropertyCSSValue</a></code></dt>

<dd>
<div class='method'>Used to retrieve the object representation of
the value of a CSS property if it has been explicitly set within
this declaration block. This method returns <code>null</code> if
the property is a <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/about.html#shorthand'>
<em>shorthand</em></a> property. Shorthand property values can only
be accessed and modified as strings, using the
<code>getPropertyValue</code> and <code>setProperty</code> methods.


<div class='parameters'><b>Parameters</b> 

<div class='paramtable'>
<dl>
<dt><code class='parameter-name'>propertyName</code> of type
<code>DOMString</code></dt>

<dd>The name of the CSS property. See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/propidx.html'><em>
CSS property index</em></a>.<br />
</dd>
</dl>
</div>
</div>

<!-- parameters -->
<div class='return'><b>Return Value</b> 

<div class='returntable'>
<table
summary='Layout table: the first cell contains the type of the return value, the second contains a short description'
 border='0'>
<tr>
<td valign='top'>
<p><a href='css.html#CSS-CSSValue'><code>CSSValue</code></a></p>
</td>
<td>
<p>Returns the value of the property if it has been explicitly set
for this declaration block. Returns <code>null</code> if the
property has not been set.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- return -->
<div><b>No Exceptions</b></div>
</div>

<!-- method -->
</dd>

<dt><code class='method-name'><a
id="CSS-CSSStyleDeclaration-getPropertyPriority"
name='CSS-CSSStyleDeclaration-getPropertyPriority'>getPropertyPriority</a></code></dt>

<dd>
<div class='method'>Used to retrieve the priority of a CSS property
(e.g. the <code>"important"</code> qualifier) if the property has
been explicitly set in this declaration block. 

<div class='parameters'><b>Parameters</b> 

<div class='paramtable'>
<dl>
<dt><code class='parameter-name'>propertyName</code> of type
<code>DOMString</code></dt>

<dd>The name of the CSS property. See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/propidx.html'><em>
CSS property index</em></a>.<br />
</dd>
</dl>
</div>
</div>

<!-- parameters -->
<div class='return'><b>Return Value</b> 

<div class='returntable'>
<table
summary='Layout table: the first cell contains the type of the return value, the second contains a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMString</code></p>
</td>
<td>
<p>A string representing the priority (e.g.
<code>"important"</code>) if one exists. The empty string if none
exists.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- return -->
<div><b>No Exceptions</b></div>
</div>

<!-- method -->
</dd>

<dt><code class='method-name'><a
id="CSS-CSSStyleDeclaration-getPropertyValue"
name='CSS-CSSStyleDeclaration-getPropertyValue'>getPropertyValue</a></code></dt>

<dd>
<div class='method'>Used to retrieve the value of a CSS property if
it has been explicitly set within this declaration block. 

<div class='parameters'><b>Parameters</b> 

<div class='paramtable'>
<dl>
<dt><code class='parameter-name'>propertyName</code> of type
<code>DOMString</code></dt>

<dd>The name of the CSS property. See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/propidx.html'><em>
CSS property index</em></a>.<br />
</dd>
</dl>
</div>
</div>

<!-- parameters -->
<div class='return'><b>Return Value</b> 

<div class='returntable'>
<table
summary='Layout table: the first cell contains the type of the return value, the second contains a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMString</code></p>
</td>
<td>
<p>Returns the value of the property if it has been explicitly set
for this declaration block. Returns the empty string if the
property has not been set.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- return -->
<div><b>No Exceptions</b></div>
</div>

<!-- method -->
</dd>

<dt><code class='method-name'><a id="CSS-CSSStyleDeclaration-item"
name='CSS-CSSStyleDeclaration-item'>item</a></code></dt>

<dd>
<div class='method'>Used to retrieve the properties that have been
explicitly set in this declaration block. The order of the
properties retrieved using this method does not have to be the
order in which they were set. This method can be used to iterate
over all properties in this declaration block. 

<div class='parameters'><b>Parameters</b> 

<div class='paramtable'>
<dl>
<dt><code class='parameter-name'>index</code> of type
<code>unsigned long</code></dt>

<dd>Index of the property name to retrieve.<br />
</dd>
</dl>
</div>
</div>

<!-- parameters -->
<div class='return'><b>Return Value</b> 

<div class='returntable'>
<table
summary='Layout table: the first cell contains the type of the return value, the second contains a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMString</code></p>
</td>
<td>
<p>The name of the property at this ordinal position. The empty
string if no property exists at this position.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- return -->
<div><b>No Exceptions</b></div>
</div>

<!-- method -->
</dd>

<dt><code class='method-name'><a
id="CSS-CSSStyleDeclaration-removeProperty"
name='CSS-CSSStyleDeclaration-removeProperty'>removeProperty</a></code></dt>

<dd>
<div class='method'>Used to remove a CSS property if it has been
explicitly set within this declaration block. 

<div class='parameters'><b>Parameters</b> 

<div class='paramtable'>
<dl>
<dt><code class='parameter-name'>propertyName</code> of type
<code>DOMString</code></dt>

<dd>The name of the CSS property. See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/propidx.html'><em>
CSS property index</em></a>.<br />
</dd>
</dl>
</div>
</div>

<!-- parameters -->
<div class='return'><b>Return Value</b> 

<div class='returntable'>
<table
summary='Layout table: the first cell contains the type of the return value, the second contains a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMString</code></p>
</td>
<td>
<p>Returns the value of the property if it has been explicitly set
for this declaration block. Returns the empty string if the
property has not been set or the property name does not correspond
to a known CSS property.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- return -->
<div class='exceptions'><b>Exceptions</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this declaration is
readonly or the property is readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</div>

<!-- method -->
</dd>

<dt><code class='method-name'><a
id="CSS-CSSStyleDeclaration-setProperty"
name='CSS-CSSStyleDeclaration-setProperty'>setProperty</a></code></dt>

<dd>
<div class='method'>Used to set a property value and priority
within this declaration block. 

<div class='parameters'><b>Parameters</b> 

<div class='paramtable'>
<dl>
<dt><code class='parameter-name'>propertyName</code> of type
<code>DOMString</code></dt>

<dd>The name of the CSS property. See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/propidx.html'><em>
CSS property index</em></a>.<br />
</dd>

<dt><code class='parameter-name'>value</code> of type
<code>DOMString</code></dt>

<dd>The new value of the property.<br />
</dd>

<dt><code class='parameter-name'>priority</code> of type
<code>DOMString</code></dt>

<dd>The new priority of the property (e.g.
<code>"important"</code>).<br />
</dd>
</dl>
</div>
</div>

<!-- parameters -->
<div class='exceptions'><b>Exceptions</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the specified value has a syntax error and
is unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this declaration is
readonly or the property is readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
<div><b>No Return Value</b></div>
</div>

<!-- method -->
</dd>
</dl>
</dd>
</dl>
</dd>

<dt><b>Interface <i><a id="CSS-CSSValue"
name='CSS-CSSValue'>CSSValue</a></i></b> (introduced in <b
class='since'>DOM Level 2</b>)</dt>

<dd>
<p>The <code>CSSValue</code> interface represents a simple or a
complex value. A <code>CSSValue</code> object only occurs in a
context of a CSS property.</p>

<dl>
<dt><br />
<b>IDL Definition</b></dt>

<dd>
<div class='idl-code'>
<pre>
// Introduced in DOM Level 2:
interface CSSValue {

  // UnitTypes
  const unsigned short      CSS_INHERIT                    = 0;
  const unsigned short      CSS_PRIMITIVE_VALUE            = 1;
  const unsigned short      CSS_VALUE_LIST                 = 2;
  const unsigned short      CSS_CUSTOM                     = 3;

           attribute DOMString        cssText;
                                        // raises(DOMException) on setting

  readonly attribute unsigned short   cssValueType;
};
</pre>
</div>

<br />
</dd>

<dt><b>Definition group <i><a id="CSS-CSSValue-types"
name='CSS-CSSValue-types'>UnitTypes</a></i></b></dt>

<dd>
<p>An integer indicating which type of unit applies to the
value.</p>

<dl>
<dt><b>Defined Constants</b></dt>

<dd>
<dl>
<dt><code class='constant-name'>CSS_CUSTOM</code></dt>

<dd>The value is a custom value.</dd>

<dt><code class='constant-name'>CSS_INHERIT</code></dt>

<dd>The value is inherited and the <code>cssText</code> contains
"inherit".</dd>

<dt><code class='constant-name'>CSS_PRIMITIVE_VALUE</code></dt>

<dd>The value is a primitive value and an instance of the <a
href='css.html#CSS-CSSPrimitiveValue'><code>CSSPrimitiveValue</code></a>
interface can be obtained by using binding-specific casting methods
on this instance of the <code>CSSValue</code> interface.</dd>

<dt><code class='constant-name'>CSS_VALUE_LIST</code></dt>

<dd>The value is a <code>CSSValue</code> list and an instance of
the <a
href='css.html#CSS-CSSValueList'><code>CSSValueList</code></a>
interface can be obtained by using binding-specific casting methods
on this instance of the <code>CSSValue</code> interface.</dd>
</dl>
</dd>
</dl>
</dd>

<dt><b>Attributes</b></dt>

<dd>
<dl>
<dt><code class='attribute-name'><a id="CSS-CSSValue-cssText"
name='CSS-CSSValue-cssText'>cssText</a></code> of type
<code>DOMString</code></dt>

<dd>A string representation of the current value.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the specified CSS string value has a
syntax error (according to the attached property) or is
unparsable.</p>

<p>INVALID_MODIFICATION_ERR: Raised if the specified CSS string
value represents a different type of values than the values allowed
by the CSS property.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this value is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSSValue-cssValueType"
name='CSS-CSSValue-cssValueType'>cssValueType</a></code> of type
<code>unsigned short</code>, readonly</dt>

<dd>A code defining the type of the value as defined above.<br />
</dd>
</dl>
</dd>
</dl>
</dd>

<dt><b>Interface <i><a id="CSS-CSSPrimitiveValue"
name='CSS-CSSPrimitiveValue'>CSSPrimitiveValue</a></i></b>
(introduced in <b class='since'>DOM Level 2</b>)</dt>

<dd>
<p>The <code>CSSPrimitiveValue</code> interface represents a single
<a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#values'>
<em>CSS value</em></a>. This interface may be used to determine the
value of a specific style property currently set in a block or to
set a specific style property explicitly within the block. An
instance of this interface might be obtained from the
<code>getPropertyCSSValue</code> method of the <a
href='css.html#CSS-CSSStyleDeclaration'><code>CSSStyleDeclaration</code></a>
interface. A <code>CSSPrimitiveValue</code> object only occurs in a
context of a CSS property.</p>

<p>Conversions are allowed between absolute values (from
millimeters to centimeters, from degrees to radians, and so on) but
not between relative values. (For example, a pixel value cannot be
converted to a centimeter value.) Percentage values can't be
converted since they are relative to the parent value (or another
property value). There is one exception for color percentage
values: since a color percentage value is relative to the range
0-255, a color percentage value can be converted to a number; (see
also the <a href='css.html#CSS-RGBColor'><code>RGBColor</code></a>
interface).</p>

<dl>
<dt><br />
<b>IDL Definition</b></dt>

<dd>
<div class='idl-code'>
<pre>
// Introduced in DOM Level 2:
interface CSSPrimitiveValue : CSSValue {

  // UnitTypes
  const unsigned short      CSS_UNKNOWN                    = 0;
  const unsigned short      CSS_NUMBER                     = 1;
  const unsigned short      CSS_PERCENTAGE                 = 2;
  const unsigned short      CSS_EMS                        = 3;
  const unsigned short      CSS_EXS                        = 4;
  const unsigned short      CSS_PX                         = 5;
  const unsigned short      CSS_CM                         = 6;
  const unsigned short      CSS_MM                         = 7;
  const unsigned short      CSS_IN                         = 8;
  const unsigned short      CSS_PT                         = 9;
  const unsigned short      CSS_PC                         = 10;
  const unsigned short      CSS_DEG                        = 11;
  const unsigned short      CSS_RAD                        = 12;
  const unsigned short      CSS_GRAD                       = 13;
  const unsigned short      CSS_MS                         = 14;
  const unsigned short      CSS_S                          = 15;
  const unsigned short      CSS_HZ                         = 16;
  const unsigned short      CSS_KHZ                        = 17;
  const unsigned short      CSS_DIMENSION                  = 18;
  const unsigned short      CSS_STRING                     = 19;
  const unsigned short      CSS_URI                        = 20;
  const unsigned short      CSS_IDENT                      = 21;
  const unsigned short      CSS_ATTR                       = 22;
  const unsigned short      CSS_COUNTER                    = 23;
  const unsigned short      CSS_RECT                       = 24;
  const unsigned short      CSS_RGBCOLOR                   = 25;

  readonly attribute unsigned short   primitiveType;
  void               setFloatValue(in unsigned short unitType, 
                                   in float floatValue)
                                        raises(DOMException);
  float              getFloatValue(in unsigned short unitType)
                                        raises(DOMException);
  void               setStringValue(in unsigned short stringType, 
                                    in DOMString stringValue)
                                        raises(DOMException);
  DOMString          getStringValue()
                                        raises(DOMException);
  Counter            getCounterValue()
                                        raises(DOMException);
  Rect               getRectValue()
                                        raises(DOMException);
  RGBColor           getRGBColorValue()
                                        raises(DOMException);
};
</pre>
</div>

<br />
</dd>

<dt><b>Definition group <i><a id="CSS-CSSPrimitiveValue-types"
name='CSS-CSSPrimitiveValue-types'>UnitTypes</a></i></b></dt>

<dd>
<p>An integer indicating which type of unit applies to the
value.</p>

<dl>
<dt><b>Defined Constants</b></dt>

<dd>
<dl>
<dt><code class='constant-name'>CSS_ATTR</code></dt>

<dd>The value is a <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/generate.html#x16'>
<em>attribute function</em></a>. The value can be obtained by using
the <code>getStringValue</code> method.</dd>

<dt><code class='constant-name'>CSS_CM</code></dt>

<dd>The value is a <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#length-units'>
<em>length (cm)</em></a>. The value can be obtained by using the
<code>getFloatValue</code> method.</dd>

<dt><code class='constant-name'>CSS_COUNTER</code></dt>

<dd>The value is a <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#counter'>
<em>counter or counters function</em></a>. The value can be
obtained by using the <code>getCounterValue</code> method.</dd>

<dt><code class='constant-name'>CSS_DEG</code></dt>

<dd>The value is an <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#q19'>
<em>angle (deg)</em></a>. The value can be obtained by using the
<code>getFloatValue</code> method.</dd>

<dt><code class='constant-name'>CSS_DIMENSION</code></dt>

<dd>The value is a number with an unknown dimension. The value can
be obtained by using the <code>getFloatValue</code> method.</dd>

<dt><code class='constant-name'>CSS_EMS</code></dt>

<dd>The value is a <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#length-units'>
<em>length (ems)</em></a>. The value can be obtained by using the
<code>getFloatValue</code> method.</dd>

<dt><code class='constant-name'>CSS_EXS</code></dt>

<dd>The value is a <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#length-units'>
<em>length (exs)</em></a>. The value can be obtained by using the
<code>getFloatValue</code> method.</dd>

<dt><code class='constant-name'>CSS_GRAD</code></dt>

<dd>The value is an <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#q19'>
<em>angle (grad)</em></a>. The value can be obtained by using the
<code>getFloatValue</code> method.</dd>

<dt><code class='constant-name'>CSS_HZ</code></dt>

<dd>The value is a <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#q21'>
<em>frequency (Hz)</em></a>. The value can be obtained by using the
<code>getFloatValue</code> method.</dd>

<dt><code class='constant-name'>CSS_IDENT</code></dt>

<dd>The value is an <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#value-def-identifier'>
<em>identifier</em></a>. The value can be obtained by using the
<code>getStringValue</code> method.</dd>

<dt><code class='constant-name'>CSS_IN</code></dt>

<dd>The value is a <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#length-units'>
<em>length (in)</em></a>. The value can be obtained by using the
<code>getFloatValue</code> method.</dd>

<dt><code class='constant-name'>CSS_KHZ</code></dt>

<dd>The value is a <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#q21'>
<em>frequency (kHz)</em></a>. The value can be obtained by using
the <code>getFloatValue</code> method.</dd>

<dt><code class='constant-name'>CSS_MM</code></dt>

<dd>The value is a <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#length-units'>
<em>length (mm)</em></a>. The value can be obtained by using the
<code>getFloatValue</code> method.</dd>

<dt><code class='constant-name'>CSS_MS</code></dt>

<dd>The value is a <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#q20'>
<em>time (ms)</em></a>. The value can be obtained by using the
<code>getFloatValue</code> method.</dd>

<dt><code class='constant-name'>CSS_NUMBER</code></dt>

<dd>The value is a simple <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#q13'>
<em>number</em></a>. The value can be obtained by using the
<code>getFloatValue</code> method.</dd>

<dt><code class='constant-name'>CSS_PC</code></dt>

<dd>The value is a <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#length-units'>
<em>length (pc)</em></a>. The value can be obtained by using the
<code>getFloatValue</code> method.</dd>

<dt><code class='constant-name'>CSS_PERCENTAGE</code></dt>

<dd>The value is a <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#percentage-units'>
<em>percentage</em></a>. The value can be obtained by using the
<code>getFloatValue</code> method.</dd>

<dt><code class='constant-name'>CSS_PT</code></dt>

<dd>The value is a <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#length-units'>
<em>length (pt)</em></a>. The value can be obtained by using the
<code>getFloatValue</code> method.</dd>

<dt><code class='constant-name'>CSS_PX</code></dt>

<dd>The value is a <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#length-units'>
<em>length (px)</em></a>. The value can be obtained by using the
<code>getFloatValue</code> method.</dd>

<dt><code class='constant-name'>CSS_RAD</code></dt>

<dd>The value is an <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#q19'>
<em>angle (rad)</em></a>. The value can be obtained by using the
<code>getFloatValue</code> method.</dd>

<dt><code class='constant-name'>CSS_RECT</code></dt>

<dd>The value is a <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/visufx.html#value-def-shape'>
<em>rect function</em></a>. The value can be obtained by using the
<code>getRectValue</code> method.</dd>

<dt><code class='constant-name'>CSS_RGBCOLOR</code></dt>

<dd>The value is a <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#color-units'>
<em>RGB color</em></a>. The value can be obtained by using the
<code>getRGBColorValue</code> method.</dd>

<dt><code class='constant-name'>CSS_S</code></dt>

<dd>The value is a <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#q20'>
<em>time (s)</em></a>. The value can be obtained by using the
<code>getFloatValue</code> method.</dd>

<dt><code class='constant-name'>CSS_STRING</code></dt>

<dd>The value is a <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#strings'>
<em>STRING</em></a>. The value can be obtained by using the
<code>getStringValue</code> method.</dd>

<dt><code class='constant-name'>CSS_UNKNOWN</code></dt>

<dd>The value is not a recognized CSS2 value. The value can only be
obtained by using the <code>cssText</code> attribute.</dd>

<dt><code class='constant-name'>CSS_URI</code></dt>

<dd>The value is a <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#uri'>
<em>URI</em></a>. The value can be obtained by using the
<code>getStringValue</code> method.</dd>
</dl>
</dd>
</dl>
</dd>

<dt><b>Attributes</b></dt>

<dd>
<dl>
<dt><code class='attribute-name'><a
id="CSS-CSSPrimitiveValue-primitiveType"
name='CSS-CSSPrimitiveValue-primitiveType'>primitiveType</a></code>
of type <code>unsigned short</code>, readonly</dt>

<dd>The type of the value as defined by the constants specified
above.<br />
</dd>
</dl>
</dd>

<dt><b>Methods</b></dt>

<dd>
<dl>
<dt><code class='method-name'><a
id="CSS-CSSPrimitiveValue-getCounterValue"
name='CSS-CSSPrimitiveValue-getCounterValue'>getCounterValue</a></code></dt>

<dd>
<div class='method'>This method is used to get the Counter value.
If this CSS value doesn't contain a counter value, a
<code>DOMException</code> is raised. Modification to the
corresponding style property can be achieved using the <a
href='css.html#CSS-Counter'><code>Counter</code></a> interface. 

<div class='return'><b>Return Value</b> 

<div class='returntable'>
<table
summary='Layout table: the first cell contains the type of the return value, the second contains a short description'
 border='0'>
<tr>
<td valign='top'>
<p><a href='css.html#CSS-Counter'><code>Counter</code></a></p>
</td>
<td>
<p>The Counter value.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- return -->
<div class='exceptions'><b>Exceptions</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>INVALID_ACCESS_ERR: Raised if the CSS value doesn't contain a
Counter value (e.g. this is not <code>CSS_COUNTER</code>).</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
<div><b>No Parameters</b></div>
</div>

<!-- method -->
</dd>

<dt><code class='method-name'><a
id="CSS-CSSPrimitiveValue-getFloatValue"
name='CSS-CSSPrimitiveValue-getFloatValue'>getFloatValue</a></code></dt>

<dd>
<div class='method'>This method is used to get a float value in a
specified unit. If this CSS value doesn't contain a float value or
can't be converted into the specified unit, a
<code>DOMException</code> is raised. 

<div class='parameters'><b>Parameters</b> 

<div class='paramtable'>
<dl>
<dt><code class='parameter-name'>unitType</code> of type
<code>unsigned short</code></dt>

<dd>A unit code to get the float value. The unit code can only be a
float unit type (i.e. <code>CSS_NUMBER</code>,
<code>CSS_PERCENTAGE</code>, <code>CSS_EMS</code>,
<code>CSS_EXS</code>, <code>CSS_PX</code>, <code>CSS_CM</code>,
<code>CSS_MM</code>, <code>CSS_IN</code>, <code>CSS_PT</code>,
<code>CSS_PC</code>, <code>CSS_DEG</code>, <code>CSS_RAD</code>,
<code>CSS_GRAD</code>, <code>CSS_MS</code>, <code>CSS_S</code>,
<code>CSS_HZ</code>, <code>CSS_KHZ</code>,
<code>CSS_DIMENSION</code>).<br />
</dd>
</dl>
</div>
</div>

<!-- parameters -->
<div class='return'><b>Return Value</b> 

<div class='returntable'>
<table
summary='Layout table: the first cell contains the type of the return value, the second contains a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>float</code></p>
</td>
<td>
<p>The float value in the specified unit.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- return -->
<div class='exceptions'><b>Exceptions</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>INVALID_ACCESS_ERR: Raised if the CSS value doesn't contain a
float value or if the float value can't be converted into the
specified unit.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</div>

<!-- method -->
</dd>

<dt><code class='method-name'><a
id="CSS-CSSPrimitiveValue-getRGBColorValue"
name='CSS-CSSPrimitiveValue-getRGBColorValue'>getRGBColorValue</a></code></dt>

<dd>
<div class='method'>This method is used to get the RGB color. If
this CSS value doesn't contain a RGB color value, a
<code>DOMException</code> is raised. Modification to the
corresponding style property can be achieved using the <a
href='css.html#CSS-RGBColor'><code>RGBColor</code></a> interface. 

<div class='return'><b>Return Value</b> 

<div class='returntable'>
<table
summary='Layout table: the first cell contains the type of the return value, the second contains a short description'
 border='0'>
<tr>
<td valign='top'>
<p><a href='css.html#CSS-RGBColor'><code>RGBColor</code></a></p>
</td>
<td>
<p>the RGB color value.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- return -->
<div class='exceptions'><b>Exceptions</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>INVALID_ACCESS_ERR: Raised if the attached property can't return
a RGB color value (e.g. this is not <code>CSS_RGBCOLOR</code>).</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
<div><b>No Parameters</b></div>
</div>

<!-- method -->
</dd>

<dt><code class='method-name'><a
id="CSS-CSSPrimitiveValue-getRectValue"
name='CSS-CSSPrimitiveValue-getRectValue'>getRectValue</a></code></dt>

<dd>
<div class='method'>This method is used to get the Rect value. If
this CSS value doesn't contain a rect value, a
<code>DOMException</code> is raised. Modification to the
corresponding style property can be achieved using the <a
href='css.html#CSS-Rect'><code>Rect</code></a> interface. 

<div class='return'><b>Return Value</b> 

<div class='returntable'>
<table
summary='Layout table: the first cell contains the type of the return value, the second contains a short description'
 border='0'>
<tr>
<td valign='top'>
<p><a href='css.html#CSS-Rect'><code>Rect</code></a></p>
</td>
<td>
<p>The Rect value.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- return -->
<div class='exceptions'><b>Exceptions</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>INVALID_ACCESS_ERR: Raised if the CSS value doesn't contain a
Rect value. (e.g. this is not <code>CSS_RECT</code>).</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
<div><b>No Parameters</b></div>
</div>

<!-- method -->
</dd>

<dt><code class='method-name'><a
id="CSS-CSSPrimitiveValue-getStringValue"
name='CSS-CSSPrimitiveValue-getStringValue'>getStringValue</a></code></dt>

<dd>
<div class='method'>This method is used to get the string value. If
the CSS value doesn't contain a string value, a
<code>DOMException</code> is raised. 

<p><b>Note:</b> Some properties (like <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/fonts.html#propdef-font-family'>
'font-family'</a> or <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/aural.html#propdef-voice-family'>
'voice-family'</a>) convert a whitespace separated list of idents
to a string.</p>

<div class='return'><b>Return Value</b> 

<div class='returntable'>
<table
summary='Layout table: the first cell contains the type of the return value, the second contains a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMString</code></p>
</td>
<td>
<p>The string value in the current unit. The current
<code>primitiveType</code> can only be a string unit type (i.e.
<code>CSS_STRING</code>, <code>CSS_URI</code>,
<code>CSS_IDENT</code> and <code>CSS_ATTR</code>).</p>
</td>
</tr>
</table>
</div>
</div>

<!-- return -->
<div class='exceptions'><b>Exceptions</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>INVALID_ACCESS_ERR: Raised if the CSS value doesn't contain a
string value.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
<div><b>No Parameters</b></div>
</div>

<!-- method -->
</dd>

<dt><code class='method-name'><a
id="CSS-CSSPrimitiveValue-setFloatValue"
name='CSS-CSSPrimitiveValue-setFloatValue'>setFloatValue</a></code></dt>

<dd>
<div class='method'>A method to set the float value with a
specified unit. If the property attached with this value can not
accept the specified unit or the float value, the value will be
unchanged and a <code>DOMException</code> will be raised. 

<div class='parameters'><b>Parameters</b> 

<div class='paramtable'>
<dl>
<dt><code class='parameter-name'>unitType</code> of type
<code>unsigned short</code></dt>

<dd>A unit code as defined above. The unit code can only be a float
unit type (i.e. <code>CSS_NUMBER</code>,
<code>CSS_PERCENTAGE</code>, <code>CSS_EMS</code>,
<code>CSS_EXS</code>, <code>CSS_PX</code>, <code>CSS_CM</code>,
<code>CSS_MM</code>, <code>CSS_IN</code>, <code>CSS_PT</code>,
<code>CSS_PC</code>, <code>CSS_DEG</code>, <code>CSS_RAD</code>,
<code>CSS_GRAD</code>, <code>CSS_MS</code>, <code>CSS_S</code>,
<code>CSS_HZ</code>, <code>CSS_KHZ</code>,
<code>CSS_DIMENSION</code>).<br />
</dd>

<dt><code class='parameter-name'>floatValue</code> of type
<code>float</code></dt>

<dd>The new float value.<br />
</dd>
</dl>
</div>
</div>

<!-- parameters -->
<div class='exceptions'><b>Exceptions</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>INVALID_ACCESS_ERR: Raised if the attached property doesn't
support the float value or the unit type.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
<div><b>No Return Value</b></div>
</div>

<!-- method -->
</dd>

<dt><code class='method-name'><a
id="CSS-CSSPrimitiveValue-setStringValue"
name='CSS-CSSPrimitiveValue-setStringValue'>setStringValue</a></code></dt>

<dd>
<div class='method'>A method to set the string value with the
specified unit. If the property attached to this value can't accept
the specified unit or the string value, the value will be unchanged
and a <code>DOMException</code> will be raised. 

<div class='parameters'><b>Parameters</b> 

<div class='paramtable'>
<dl>
<dt><code class='parameter-name'>stringType</code> of type
<code>unsigned short</code></dt>

<dd>A string code as defined above. The string code can only be a
string unit type (i.e. <code>CSS_STRING</code>,
<code>CSS_URI</code>, <code>CSS_IDENT</code>, and
<code>CSS_ATTR</code>).<br />
</dd>

<dt><code class='parameter-name'>stringValue</code> of type
<code>DOMString</code></dt>

<dd>The new string value.<br />
</dd>
</dl>
</div>
</div>

<!-- parameters -->
<div class='exceptions'><b>Exceptions</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>INVALID_ACCESS_ERR: Raised if the CSS value doesn't contain a
string value or if the string value can't be converted into the
specified unit.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
<div><b>No Return Value</b></div>
</div>

<!-- method -->
</dd>
</dl>
</dd>
</dl>
</dd>

<dt><b>Interface <i><a id="CSS-CSSValueList"
name='CSS-CSSValueList'>CSSValueList</a></i></b> (introduced in <b
class='since'>DOM Level 2</b>)</dt>

<dd>
<p>The <code>CSSValueList</code> interface provides the abstraction
of an ordered collection of CSS values.</p>

<p>Some properties allow an empty list into their syntax. In that
case, these properties take the <code>none</code> identifier. So,
an empty list means that the property has the value
<code>none</code>.</p>

<p>The items in the <code>CSSValueList</code> are accessible via an
integral index, starting from 0.</p>

<dl>
<dt><br />
<b>IDL Definition</b></dt>

<dd>
<div class='idl-code'>
<pre>
// Introduced in DOM Level 2:
interface CSSValueList : CSSValue {
  readonly attribute unsigned long    length;
  CSSValue           item(in unsigned long index);
};
</pre>
</div>

<br />
</dd>

<dt><b>Attributes</b></dt>

<dd>
<dl>
<dt><code class='attribute-name'><a id="CSS-CSSValueList-length"
name='CSS-CSSValueList-length'>length</a></code> of type
<code>unsigned long</code>, readonly</dt>

<dd>The number of <a
href='css.html#CSS-CSSValue'><code>CSSValues</code></a> in the
list. The range of valid values of the indices is <code>0</code> to
<code>length-1</code> inclusive.<br />
</dd>
</dl>
</dd>

<dt><b>Methods</b></dt>

<dd>
<dl>
<dt><code class='method-name'><a id="CSS-CSSValueList-item"
name='CSS-CSSValueList-item'>item</a></code></dt>

<dd>
<div class='method'>Used to retrieve a <a
href='css.html#CSS-CSSValue'><code>CSSValue</code></a> by ordinal
index. The order in this collection represents the order of the
values in the CSS style property. If index is greater than or equal
to the number of values in the list, this returns
<code>null</code>. 

<div class='parameters'><b>Parameters</b> 

<div class='paramtable'>
<dl>
<dt><code class='parameter-name'>index</code> of type
<code>unsigned long</code></dt>

<dd>Index into the collection.<br />
</dd>
</dl>
</div>
</div>

<!-- parameters -->
<div class='return'><b>Return Value</b> 

<div class='returntable'>
<table
summary='Layout table: the first cell contains the type of the return value, the second contains a short description'
 border='0'>
<tr>
<td valign='top'>
<p><a href='css.html#CSS-CSSValue'><code>CSSValue</code></a></p>
</td>
<td>
<p>The <a class='noxref'
href='css.html#CSS-CSSValue'><code>CSSValue</code></a> at the
<code>index</code> position in the <code>CSSValueList</code>, or
<code>null</code> if that is not a valid index.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- return -->
<div><b>No Exceptions</b></div>
</div>

<!-- method -->
</dd>
</dl>
</dd>
</dl>
</dd>

<dt><b>Interface <i><a id="CSS-RGBColor"
name='CSS-RGBColor'>RGBColor</a></i></b> (introduced in <b
class='since'>DOM Level 2</b>)</dt>

<dd>
<p>The <code>RGBColor</code> interface is used to represent any <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#value-def-color'>
<em>RGB color</em></a> value. This interface reflects the values in
the underlying style property. Hence, modifications made to the <a
href='css.html#CSS-CSSPrimitiveValue'><code>CSSPrimitiveValue</code></a>
objects modify the style property.</p>

<p>A specified RGB color is not clipped (even if the number is
outside the range 0-255 or 0%-100%). A computed RGB color is
clipped depending on the device.</p>

<p>Even if a style sheet can only contain an integer for a color
value, the internal storage of this integer is a float, and this
can be used as a float in the specified or the computed style.</p>

<p>A color percentage value can always be converted to a number and
vice versa.</p>

<dl>
<dt><br />
<b>IDL Definition</b></dt>

<dd>
<div class='idl-code'>
<pre>
// Introduced in DOM Level 2:
interface RGBColor {
  readonly attribute CSSPrimitiveValue  red;
  readonly attribute CSSPrimitiveValue  green;
  readonly attribute CSSPrimitiveValue  blue;
};
</pre>
</div>

<br />
</dd>

<dt><b>Attributes</b></dt>

<dd>
<dl>
<dt><code class='attribute-name'><a id="CSS-RGBColor-blue"
name='CSS-RGBColor-blue'>blue</a></code> of type <a
href='css.html#CSS-CSSPrimitiveValue'><code>CSSPrimitiveValue</code></a>,
readonly</dt>

<dd>This attribute is used for the blue value of the RGB
color.<br />
</dd>

<dt><code class='attribute-name'><a id="CSS-RGBColor-green"
name='CSS-RGBColor-green'>green</a></code> of type <a
href='css.html#CSS-CSSPrimitiveValue'><code>CSSPrimitiveValue</code></a>,
readonly</dt>

<dd>This attribute is used for the green value of the RGB
color.<br />
</dd>

<dt><code class='attribute-name'><a id="CSS-RGBColor-red"
name='CSS-RGBColor-red'>red</a></code> of type <a
href='css.html#CSS-CSSPrimitiveValue'><code>CSSPrimitiveValue</code></a>,
readonly</dt>

<dd>This attribute is used for the red value of the RGB
color.<br />
</dd>
</dl>
</dd>
</dl>
</dd>

<dt><b>Interface <i><a id="CSS-Rect"
name='CSS-Rect'>Rect</a></i></b> (introduced in <b
class='since'>DOM Level 2</b>)</dt>

<dd>
<p>The <code>Rect</code> interface is used to represent any <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/visufx.html#value-def-shape'>
<em>rect</em></a> value. This interface reflects the values in the
underlying style property. Hence, modifications made to the <a
href='css.html#CSS-CSSPrimitiveValue'><code>CSSPrimitiveValue</code></a>
objects modify the style property.</p>

<dl>
<dt><br />
<b>IDL Definition</b></dt>

<dd>
<div class='idl-code'>
<pre>
// Introduced in DOM Level 2:
interface Rect {
  readonly attribute CSSPrimitiveValue  top;
  readonly attribute CSSPrimitiveValue  right;
  readonly attribute CSSPrimitiveValue  bottom;
  readonly attribute CSSPrimitiveValue  left;
};
</pre>
</div>

<br />
</dd>

<dt><b>Attributes</b></dt>

<dd>
<dl>
<dt><code class='attribute-name'><a id="CSS-Rect-bottom"
name='CSS-Rect-bottom'>bottom</a></code> of type <a
href='css.html#CSS-CSSPrimitiveValue'><code>CSSPrimitiveValue</code></a>,
readonly</dt>

<dd>This attribute is used for the bottom of the rect.<br />
</dd>

<dt><code class='attribute-name'><a id="CSS-Rect-left"
name='CSS-Rect-left'>left</a></code> of type <a
href='css.html#CSS-CSSPrimitiveValue'><code>CSSPrimitiveValue</code></a>,
readonly</dt>

<dd>This attribute is used for the left of the rect.<br />
</dd>

<dt><code class='attribute-name'><a id="CSS-Rect-right"
name='CSS-Rect-right'>right</a></code> of type <a
href='css.html#CSS-CSSPrimitiveValue'><code>CSSPrimitiveValue</code></a>,
readonly</dt>

<dd>This attribute is used for the right of the rect.<br />
</dd>

<dt><code class='attribute-name'><a id="CSS-Rect-top"
name='CSS-Rect-top'>top</a></code> of type <a
href='css.html#CSS-CSSPrimitiveValue'><code>CSSPrimitiveValue</code></a>,
readonly</dt>

<dd>This attribute is used for the top of the rect.<br />
</dd>
</dl>
</dd>
</dl>
</dd>

<dt><b>Interface <i><a id="CSS-Counter"
name='CSS-Counter'>Counter</a></i></b> (introduced in <b
class='since'>DOM Level 2</b>)</dt>

<dd>
<p>The <code>Counter</code> interface is used to represent any <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#value-def-counter'>
<em>counter or counters function</em></a> value. This interface
reflects the values in the underlying style property.</p>

<dl>
<dt><br />
<b>IDL Definition</b></dt>

<dd>
<div class='idl-code'>
<pre>
// Introduced in DOM Level 2:
interface Counter {
  readonly attribute DOMString        identifier;
  readonly attribute DOMString        listStyle;
  readonly attribute DOMString        separator;
};
</pre>
</div>

<br />
</dd>

<dt><b>Attributes</b></dt>

<dd>
<dl>
<dt><code class='attribute-name'><a id="CSS-Counter-identifier"
name='CSS-Counter-identifier'>identifier</a></code> of type
<code>DOMString</code>, readonly</dt>

<dd>This attribute is used for the identifier of the counter.<br />
</dd>

<dt><code class='attribute-name'><a id="CSS-Counter-listStyle"
name='CSS-Counter-listStyle'>listStyle</a></code> of type
<code>DOMString</code>, readonly</dt>

<dd>This attribute is used for the style of the list.<br />
</dd>

<dt><code class='attribute-name'><a id="CSS-Counter-separator"
name='CSS-Counter-separator'>separator</a></code> of type
<code>DOMString</code>, readonly</dt>

<dd>This attribute is used for the separator of the nested
counters.<br />
</dd>
</dl>
</dd>
</dl>
</dd>
</dl>

<div class='div3'><a id="CSS-OverrideAndComputed"
name='CSS-OverrideAndComputed'></a> 

<h3 id='CSS-OverrideAndComputed-h3' class='div3'>2.2.1. Override
and computed style sheet</h3>

<dl>
<dt><b>Interface <i><a id="CSS-ViewCSS"
name='CSS-ViewCSS'>ViewCSS</a></i></b> (introduced in <b
class='since'>DOM Level 2</b>)</dt>

<dd>
<p>This interface represents a CSS view. The
<code>getComputedStyle</code> method provides a <b>read only
access</b> to the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/cascade.html#computed-value'>
<em>computed values</em></a> of an element.</p>

<p>The expectation is that an instance of the <code>ViewCSS</code>
interface can be obtained by using binding-specific casting methods
on an instance of the <code>AbstractView</code> interface.</p>

<p>Since a computed style is related to an <code>Element</code>
node, if this element is removed from the document, the associated
<a
href='css.html#CSS-CSSStyleDeclaration'><code>CSSStyleDeclaration</code></a>
and <a href='css.html#CSS-CSSValue'><code>CSSValue</code></a>
related to this declaration are no longer valid.</p>

<dl>
<dt><br />
<b>IDL Definition</b></dt>

<dd>
<div class='idl-code'>
<pre>
// Introduced in DOM Level 2:
interface ViewCSS : views::AbstractView {
  CSSStyleDeclaration getComputedStyle(in Element elt, 
                                       in DOMString pseudoElt);
};
</pre>
</div>

<br />
</dd>

<dt><b>Methods</b></dt>

<dd>
<dl>
<dt><code class='method-name'><a id="CSS-CSSview-getComputedStyle"
name='CSS-CSSview-getComputedStyle'>getComputedStyle</a></code></dt>

<dd>
<div class='method'>This method is used to get the computed style
as it is defined in [<a class='noxref'
href='references.html#CSS2'>CSS2</a>]. 

<div class='parameters'><b>Parameters</b> 

<div class='paramtable'>
<dl>
<dt><code class='parameter-name'>elt</code> of type
<code>Element</code></dt>

<dd>The element whose style is to be computed. This parameter
cannot be null.<br />
</dd>

<dt><code class='parameter-name'>pseudoElt</code> of type
<code>DOMString</code></dt>

<dd>The pseudo-element or <code>null</code> if none.<br />
</dd>
</dl>
</div>
</div>

<!-- parameters -->
<div class='return'><b>Return Value</b> 

<div class='returntable'>
<table
summary='Layout table: the first cell contains the type of the return value, the second contains a short description'
 border='0'>
<tr>
<td valign='top'>
<p><a
href='css.html#CSS-CSSStyleDeclaration'><code>CSSStyleDeclaration</code></a></p>
</td>
<td>
<p>The computed style. The <a class='noxref'
href='css.html#CSS-CSSStyleDeclaration'><code>CSSStyleDeclaration</code></a>
is read-only and contains only absolute values.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- return -->
<div><b>No Exceptions</b></div>
</div>

<!-- method -->
</dd>
</dl>
</dd>
</dl>
</dd>

<dt><b>Interface <i><a id="CSS-DocumentCSS"
name='CSS-DocumentCSS'>DocumentCSS</a></i></b> (introduced in <b
class='since'>DOM Level 2</b>)</dt>

<dd>
<p>This interface represents a document with a CSS view.</p>

<p>The <code>getOverrideStyle</code> method provides a mechanism
through which a DOM author could effect immediate change to the
style of an element without modifying the explicitly linked style
sheets of a document or the inline style of elements in the style
sheets. This style sheet comes after the author style sheet in the
cascade algorithm and is called <em>override style sheet</em>. The
override style sheet takes precedence over author style sheets. An
"!important" declaration still takes precedence over a normal
declaration. Override, author, and user style sheets all may
contain "!important" declarations. User "!important" rules take
precedence over both override and author "!important" rules, and
override "!important" rules take precedence over author
"!important" rules.</p>

<p>The expectation is that an instance of the
<code>DocumentCSS</code> interface can be obtained by using
binding-specific casting methods on an instance of the
<code>Document</code> interface.</p>

<dl>
<dt><br />
<b>IDL Definition</b></dt>

<dd>
<div class='idl-code'>
<pre>
// Introduced in DOM Level 2:
interface DocumentCSS : stylesheets::DocumentStyle {
  CSSStyleDeclaration getOverrideStyle(in Element elt, 
                                       in DOMString pseudoElt);
};
</pre>
</div>

<br />
</dd>

<dt><b>Methods</b></dt>

<dd>
<dl>
<dt><code class='method-name'><a
id="CSS-DocumentCSS-getOverrideStyle"
name='CSS-DocumentCSS-getOverrideStyle'>getOverrideStyle</a></code></dt>

<dd>
<div class='method'>This method is used to retrieve the override
style declaration for a specified element and a specified
pseudo-element. 

<div class='parameters'><b>Parameters</b> 

<div class='paramtable'>
<dl>
<dt><code class='parameter-name'>elt</code> of type
<code>Element</code></dt>

<dd>The element whose style is to be modified. This parameter
cannot be null.<br />
</dd>

<dt><code class='parameter-name'>pseudoElt</code> of type
<code>DOMString</code></dt>

<dd>The pseudo-element or <code>null</code> if none.<br />
</dd>
</dl>
</div>
</div>

<!-- parameters -->
<div class='return'><b>Return Value</b> 

<div class='returntable'>
<table
summary='Layout table: the first cell contains the type of the return value, the second contains a short description'
 border='0'>
<tr>
<td valign='top'>
<p><a
href='css.html#CSS-CSSStyleDeclaration'><code>CSSStyleDeclaration</code></a></p>
</td>
<td>
<p>The override style declaration.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- return -->
<div><b>No Exceptions</b></div>
</div>

<!-- method -->
</dd>
</dl>
</dd>
</dl>
</dd>
</dl>
</div>

<!-- div3 CSS-OverrideAndComputed -->
<div class='div3'><a id="CSS-StyleSheetCreation"
name='CSS-StyleSheetCreation'></a> 

<h3 id='CSS-StyleSheetCreation-h3' class='div3'>2.2.2. Style sheet
creation</h3>

<dl>
<dt><b>Interface <i><a id="CSS-DOMImplementationCSS"
name='CSS-DOMImplementationCSS'>DOMImplementationCSS</a></i></b>
(introduced in <b class='since'>DOM Level 2</b>)</dt>

<dd>
<p>This interface allows the DOM user to create a <a
href='css.html#CSS-CSSStyleSheet'><code>CSSStyleSheet</code></a>
outside the context of a document. There is no way to associate the
new <a class='noxref'
href='css.html#CSS-CSSStyleSheet'><code>CSSStyleSheet</code></a>
with a document in DOM Level 2.</p>

<dl>
<dt><br />
<b>IDL Definition</b></dt>

<dd>
<div class='idl-code'>
<pre>
// Introduced in DOM   Level 2:
interface DOMImplementationCSS : DOMImplementation {
  CSSStyleSheet      createCSSStyleSheet(in DOMString title, 
                                         in DOMString media)
                                        raises(DOMException);
};
</pre>
</div>

<br />
</dd>

<dt><b>Methods</b></dt>

<dd>
<dl>
<dt><code class='method-name'><a
id="CSS-DOMImplementationCSS-createCSSStyleSheet"
name='CSS-DOMImplementationCSS-createCSSStyleSheet'>createCSSStyleSheet</a></code></dt>

<dd>
<div class='method'>Creates a new <a
href='css.html#CSS-CSSStyleSheet'><code>CSSStyleSheet</code></a>. 

<div class='parameters'><b>Parameters</b> 

<div class='paramtable'>
<dl>
<dt><code class='parameter-name'>title</code> of type
<code>DOMString</code></dt>

<dd>The advisory title. See also the <a
href='stylesheets.html#StyleSheets-StyleSheet-title'>Style Sheet
Interfaces</a> section.<br />
</dd>

<dt><code class='parameter-name'>media</code> of type
<code>DOMString</code></dt>

<dd>The comma-separated list of media associated with the new style
sheet. See also the <a
href='stylesheets.html#StyleSheets-StyleSheet-media'>Style Sheet
Interfaces</a> section.<br />
</dd>
</dl>
</div>
</div>

<!-- parameters -->
<div class='return'><b>Return Value</b> 

<div class='returntable'>
<table
summary='Layout table: the first cell contains the type of the return value, the second contains a short description'
 border='0'>
<tr>
<td valign='top'>
<p><a
href='css.html#CSS-CSSStyleSheet'><code>CSSStyleSheet</code></a></p>
</td>
<td>
<p>A new CSS style sheet.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- return -->
<div class='exceptions'><b>Exceptions</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the specified media string value has a
syntax error and is unparsable.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</div>

<!-- method -->
</dd>
</dl>
</dd>
</dl>
</dd>
</dl>
</div>

<!-- div3 CSS-StyleSheetCreation -->
<div class='div3'><a id="CSS-htmlelementcss"
name='CSS-htmlelementcss'></a> 

<h3 id='CSS-htmlelementcss-h3' class='div3'>2.2.3. Element with CSS
inline style</h3>

<dl>
<dt><b>Interface <i><a id="CSS-ElementCSSInlineStyle"
name='CSS-ElementCSSInlineStyle'>ElementCSSInlineStyle</a></i></b>
(introduced in <b class='since'>DOM Level 2</b>)</dt>

<dd>
<p>Inline style information attached to elements is exposed through
the <code>style</code> attribute. This represents the contents of
the <a
href='http://www.w3.org/TR/1998/REC-html40-19980424/present/styles.html#h-14.2.2'>
<em>STYLE</em></a> attribute for HTML elements (or elements in
other schemas or DTDs which use the STYLE attribute in the same
way). The expectation is that an instance of the
ElementCSSInlineStyle interface can be obtained by using
binding-specific casting methods on an instance of the Element
interface when the element supports inline CSS style
informations.</p>

<dl>
<dt><br />
<b>IDL Definition</b></dt>

<dd>
<div class='idl-code'>
<pre>
// Introduced in DOM Level 2:
interface ElementCSSInlineStyle {
  readonly attribute CSSStyleDeclaration  style;
};
</pre>
</div>

<br />
</dd>

<dt><b>Attributes</b></dt>

<dd>
<dl>
<dt><code class='attribute-name'><a
id="CSS-ElementCSSInlineStyle-style"
name='CSS-ElementCSSInlineStyle-style'>style</a></code> of type <a
href='css.html#CSS-CSSStyleDeclaration'><code>CSSStyleDeclaration</code></a>,
readonly</dt>

<dd>The style attribute.<br />
</dd>
</dl>
</dd>
</dl>
</dd>
</dl>
</div>

<!-- div3 CSS-htmlelementcss --></div>

<!-- div2 CSS-fundamental -->
<div class='div2'><a id="CSS-extended" name='CSS-extended'></a> 

<h2 id='CSS-extended-h2' class='div2'>2.3. CSS2 Extended
Interface</h2>

<p>The interface found within this section are not mandatory. A DOM
application may use the <code>hasFeature(feature, version)</code>
method of the <code>DOMImplementation</code> interface with
parameter values "CSS2" and "2.0" (respectively) to determine
whether or not this module is supported by the implementation. In
order to fully support this module, an implementation must also
support the "CSS" feature defined defined in <a
href='css.html#CSS-fundamental'>CSS Fundamental Interfaces</a>.
Please refer to additional information about <a
href='http://www.w3.org/TR/DOM-Level-2-Core/introduction.html#ID-Conformance'>
<em>conformance</em></a> in the DOM Level 2 Core specification [<a
class='noxref' href='references.html#DOMCore'>DOM Level 2
Core</a>].</p>

<dl>
<dt><b>Interface <i><a id="CSS-CSS2Properties"
name='CSS-CSS2Properties'>CSS2Properties</a></i></b> (introduced in
<b class='since'>DOM Level 2</b>)</dt>

<dd>
<p>The <code>CSS2Properties</code> interface represents a
convenience mechanism for retrieving and setting properties within
a <a
href='css.html#CSS-CSSStyleDeclaration'><code>CSSStyleDeclaration</code></a>.
The attributes of this interface correspond to all the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/propidx.html'><em>
properties specified in CSS2</em></a>. Getting an attribute of this
interface is equivalent to calling the
<code>getPropertyValue</code> method of the <a class='noxref'
href='css.html#CSS-CSSStyleDeclaration'><code>CSSStyleDeclaration</code></a>
interface. Setting an attribute of this interface is equivalent to
calling the <code>setProperty</code> method of the <a
class='noxref'
href='css.html#CSS-CSSStyleDeclaration'><code>CSSStyleDeclaration</code></a>
interface.</p>

<p>A conformant implementation of the CSS module is not required to
implement the <code>CSS2Properties</code> interface. If an
implementation does implement this interface, the expectation is
that language-specific methods can be used to cast from an instance
of the <a
href='css.html#CSS-CSSStyleDeclaration'><code>CSSStyleDeclaration</code></a>
interface to the <code>CSS2Properties</code> interface.</p>

<p>If an implementation does implement this interface, it is
expected to understand the specific syntax of the shorthand
properties, and apply their semantics; when the <code>margin</code>
property is set, for example, the <code>marginTop</code>,
<code>marginRight</code>, <code>marginBottom</code> and
<code>marginLeft</code> properties are actually being set by the
underlying implementation.</p>

<p>When dealing with CSS "shorthand" properties, the shorthand
properties should be decomposed into their component longhand
properties as appropriate, and when querying for their value, the
form returned should be the shortest form exactly equivalent to the
declarations made in the ruleset. However, if there is no shorthand
declaration that could be added to the ruleset without changing in
any way the rules already declared in the ruleset (i.e., by adding
longhand rules that were previously not declared in the ruleset),
then the empty string should be returned for the shorthand
property.</p>

<p>For example, querying for the <code>font</code> property should
not return "normal normal normal 14pt/normal Arial, sans-serif",
when "14pt Arial, sans-serif" suffices. (The normals are initial
values, and are implied by use of the longhand property.)</p>

<p>If the values for all the longhand properties that compose a
particular string are the initial values, then a string consisting
of all the initial values should be returned (e.g. a
<code>border-width</code> value of "medium" should be returned as
such, not as "").</p>

<p>For some shorthand properties that take missing values from
other sides, such as the <code>margin</code>, <code>padding</code>,
and <code>border-[width|style|color]</code> properties, the minimum
number of sides possible should be used; i.e., "0px 10px" will be
returned instead of "0px 10px 0px 10px".</p>

<p>If the value of a shorthand property can not be decomposed into
its component longhand properties, as is the case for the
<code>font</code> property with a value of "menu", querying for the
values of the component longhand properties should return the empty
string.</p>

<dl>
<dt><br />
<b>IDL Definition</b></dt>

<dd>
<div class='idl-code'>
<pre>
// Introduced in DOM Level 2:
interface CSS2Properties {
           attribute DOMString        azimuth;
                                        // raises(DOMException) on setting

           attribute DOMString        background;
                                        // raises(DOMException) on setting

           attribute DOMString        backgroundAttachment;
                                        // raises(DOMException) on setting

           attribute DOMString        backgroundColor;
                                        // raises(DOMException) on setting

           attribute DOMString        backgroundImage;
                                        // raises(DOMException) on setting

           attribute DOMString        backgroundPosition;
                                        // raises(DOMException) on setting

           attribute DOMString        backgroundRepeat;
                                        // raises(DOMException) on setting

           attribute DOMString        border;
                                        // raises(DOMException) on setting

           attribute DOMString        borderCollapse;
                                        // raises(DOMException) on setting

           attribute DOMString        borderColor;
                                        // raises(DOMException) on setting

           attribute DOMString        borderSpacing;
                                        // raises(DOMException) on setting

           attribute DOMString        borderStyle;
                                        // raises(DOMException) on setting

           attribute DOMString        borderTop;
                                        // raises(DOMException) on setting

           attribute DOMString        borderRight;
                                        // raises(DOMException) on setting

           attribute DOMString        borderBottom;
                                        // raises(DOMException) on setting

           attribute DOMString        borderLeft;
                                        // raises(DOMException) on setting

           attribute DOMString        borderTopColor;
                                        // raises(DOMException) on setting

           attribute DOMString        borderRightColor;
                                        // raises(DOMException) on setting

           attribute DOMString        borderBottomColor;
                                        // raises(DOMException) on setting

           attribute DOMString        borderLeftColor;
                                        // raises(DOMException) on setting

           attribute DOMString        borderTopStyle;
                                        // raises(DOMException) on setting

           attribute DOMString        borderRightStyle;
                                        // raises(DOMException) on setting

           attribute DOMString        borderBottomStyle;
                                        // raises(DOMException) on setting

           attribute DOMString        borderLeftStyle;
                                        // raises(DOMException) on setting

           attribute DOMString        borderTopWidth;
                                        // raises(DOMException) on setting

           attribute DOMString        borderRightWidth;
                                        // raises(DOMException) on setting

           attribute DOMString        borderBottomWidth;
                                        // raises(DOMException) on setting

           attribute DOMString        borderLeftWidth;
                                        // raises(DOMException) on setting

           attribute DOMString        borderWidth;
                                        // raises(DOMException) on setting

           attribute DOMString        bottom;
                                        // raises(DOMException) on setting

           attribute DOMString        captionSide;
                                        // raises(DOMException) on setting

           attribute DOMString        clear;
                                        // raises(DOMException) on setting

           attribute DOMString        clip;
                                        // raises(DOMException) on setting

           attribute DOMString        color;
                                        // raises(DOMException) on setting

           attribute DOMString        content;
                                        // raises(DOMException) on setting

           attribute DOMString        counterIncrement;
                                        // raises(DOMException) on setting

           attribute DOMString        counterReset;
                                        // raises(DOMException) on setting

           attribute DOMString        cue;
                                        // raises(DOMException) on setting

           attribute DOMString        cueAfter;
                                        // raises(DOMException) on setting

           attribute DOMString        cueBefore;
                                        // raises(DOMException) on setting

           attribute DOMString        cursor;
                                        // raises(DOMException) on setting

           attribute DOMString        direction;
                                        // raises(DOMException) on setting

           attribute DOMString        display;
                                        // raises(DOMException) on setting

           attribute DOMString        elevation;
                                        // raises(DOMException) on setting

           attribute DOMString        emptyCells;
                                        // raises(DOMException) on setting

           attribute DOMString        cssFloat;
                                        // raises(DOMException) on setting

           attribute DOMString        font;
                                        // raises(DOMException) on setting

           attribute DOMString        fontFamily;
                                        // raises(DOMException) on setting

           attribute DOMString        fontSize;
                                        // raises(DOMException) on setting

           attribute DOMString        fontSizeAdjust;
                                        // raises(DOMException) on setting

           attribute DOMString        fontStretch;
                                        // raises(DOMException) on setting

           attribute DOMString        fontStyle;
                                        // raises(DOMException) on setting

           attribute DOMString        fontVariant;
                                        // raises(DOMException) on setting

           attribute DOMString        fontWeight;
                                        // raises(DOMException) on setting

           attribute DOMString        height;
                                        // raises(DOMException) on setting

           attribute DOMString        left;
                                        // raises(DOMException) on setting

           attribute DOMString        letterSpacing;
                                        // raises(DOMException) on setting

           attribute DOMString        lineHeight;
                                        // raises(DOMException) on setting

           attribute DOMString        listStyle;
                                        // raises(DOMException) on setting

           attribute DOMString        listStyleImage;
                                        // raises(DOMException) on setting

           attribute DOMString        listStylePosition;
                                        // raises(DOMException) on setting

           attribute DOMString        listStyleType;
                                        // raises(DOMException) on setting

           attribute DOMString        margin;
                                        // raises(DOMException) on setting

           attribute DOMString        marginTop;
                                        // raises(DOMException) on setting

           attribute DOMString        marginRight;
                                        // raises(DOMException) on setting

           attribute DOMString        marginBottom;
                                        // raises(DOMException) on setting

           attribute DOMString        marginLeft;
                                        // raises(DOMException) on setting

           attribute DOMString        markerOffset;
                                        // raises(DOMException) on setting

           attribute DOMString        marks;
                                        // raises(DOMException) on setting

           attribute DOMString        maxHeight;
                                        // raises(DOMException) on setting

           attribute DOMString        maxWidth;
                                        // raises(DOMException) on setting

           attribute DOMString        minHeight;
                                        // raises(DOMException) on setting

           attribute DOMString        minWidth;
                                        // raises(DOMException) on setting

           attribute DOMString        orphans;
                                        // raises(DOMException) on setting

           attribute DOMString        outline;
                                        // raises(DOMException) on setting

           attribute DOMString        outlineColor;
                                        // raises(DOMException) on setting

           attribute DOMString        outlineStyle;
                                        // raises(DOMException) on setting

           attribute DOMString        outlineWidth;
                                        // raises(DOMException) on setting

           attribute DOMString        overflow;
                                        // raises(DOMException) on setting

           attribute DOMString        padding;
                                        // raises(DOMException) on setting

           attribute DOMString        paddingTop;
                                        // raises(DOMException) on setting

           attribute DOMString        paddingRight;
                                        // raises(DOMException) on setting

           attribute DOMString        paddingBottom;
                                        // raises(DOMException) on setting

           attribute DOMString        paddingLeft;
                                        // raises(DOMException) on setting

           attribute DOMString        page;
                                        // raises(DOMException) on setting

           attribute DOMString        pageBreakAfter;
                                        // raises(DOMException) on setting

           attribute DOMString        pageBreakBefore;
                                        // raises(DOMException) on setting

           attribute DOMString        pageBreakInside;
                                        // raises(DOMException) on setting

           attribute DOMString        pause;
                                        // raises(DOMException) on setting

           attribute DOMString        pauseAfter;
                                        // raises(DOMException) on setting

           attribute DOMString        pauseBefore;
                                        // raises(DOMException) on setting

           attribute DOMString        pitch;
                                        // raises(DOMException) on setting

           attribute DOMString        pitchRange;
                                        // raises(DOMException) on setting

           attribute DOMString        playDuring;
                                        // raises(DOMException) on setting

           attribute DOMString        position;
                                        // raises(DOMException) on setting

           attribute DOMString        quotes;
                                        // raises(DOMException) on setting

           attribute DOMString        richness;
                                        // raises(DOMException) on setting

           attribute DOMString        right;
                                        // raises(DOMException) on setting

           attribute DOMString        size;
                                        // raises(DOMException) on setting

           attribute DOMString        speak;
                                        // raises(DOMException) on setting

           attribute DOMString        speakHeader;
                                        // raises(DOMException) on setting

           attribute DOMString        speakNumeral;
                                        // raises(DOMException) on setting

           attribute DOMString        speakPunctuation;
                                        // raises(DOMException) on setting

           attribute DOMString        speechRate;
                                        // raises(DOMException) on setting

           attribute DOMString        stress;
                                        // raises(DOMException) on setting

           attribute DOMString        tableLayout;
                                        // raises(DOMException) on setting

           attribute DOMString        textAlign;
                                        // raises(DOMException) on setting

           attribute DOMString        textDecoration;
                                        // raises(DOMException) on setting

           attribute DOMString        textIndent;
                                        // raises(DOMException) on setting

           attribute DOMString        textShadow;
                                        // raises(DOMException) on setting

           attribute DOMString        textTransform;
                                        // raises(DOMException) on setting

           attribute DOMString        top;
                                        // raises(DOMException) on setting

           attribute DOMString        unicodeBidi;
                                        // raises(DOMException) on setting

           attribute DOMString        verticalAlign;
                                        // raises(DOMException) on setting

           attribute DOMString        visibility;
                                        // raises(DOMException) on setting

           attribute DOMString        voiceFamily;
                                        // raises(DOMException) on setting

           attribute DOMString        volume;
                                        // raises(DOMException) on setting

           attribute DOMString        whiteSpace;
                                        // raises(DOMException) on setting

           attribute DOMString        widows;
                                        // raises(DOMException) on setting

           attribute DOMString        width;
                                        // raises(DOMException) on setting

           attribute DOMString        wordSpacing;
                                        // raises(DOMException) on setting

           attribute DOMString        zIndex;
                                        // raises(DOMException) on setting

};
</pre>
</div>

<br />
</dd>

<dt><b>Attributes</b></dt>

<dd>
<dl>
<dt><code class='attribute-name'><a id="CSS-CSS2Properties-azimuth"
name='CSS-CSS2Properties-azimuth'>azimuth</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/aural.html#propdef-azimuth'>
<em>azimuth property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-background"
name='CSS-CSS2Properties-background'>background</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/colors.html#propdef-background'>
<em>background property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-backgroundAttachment"
name='CSS-CSS2Properties-backgroundAttachment'>backgroundAttachment</a></code>
of type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/colors.html#propdef-background-attachment'>
<em>background-attachment property definition</em></a> in
CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-backgroundColor"
name='CSS-CSS2Properties-backgroundColor'>backgroundColor</a></code>
of type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/colors.html#propdef-background-color'>
<em>background-color property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-backgroundImage"
name='CSS-CSS2Properties-backgroundImage'>backgroundImage</a></code>
of type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/colors.html#propdef-background-image'>
<em>background-image property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-backgroundPosition"
name='CSS-CSS2Properties-backgroundPosition'>backgroundPosition</a></code>
of type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/colors.html#propdef-background-position'>
<em>background-position property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-backgroundRepeat"
name='CSS-CSS2Properties-backgroundRepeat'>backgroundRepeat</a></code>
of type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/colors.html#propdef-background-repeat'>
<em>background-repeat property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSS2Properties-border"
name='CSS-CSS2Properties-border'>border</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/box.html#propdef-border'>
<em>border property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-borderBottom"
name='CSS-CSS2Properties-borderBottom'>borderBottom</a></code> of
type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/box.html#propdef-border-bottom'>
<em>border-bottom property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-borderBottomColor"
name='CSS-CSS2Properties-borderBottomColor'>borderBottomColor</a></code>
of type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/box.html#propdef-border-bottom-color'>
<em>border-bottom-color property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-borderBottomStyle"
name='CSS-CSS2Properties-borderBottomStyle'>borderBottomStyle</a></code>
of type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/box.html#propdef-border-bottom-style'>
<em>border-bottom-style property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-borderBottomWidth"
name='CSS-CSS2Properties-borderBottomWidth'>borderBottomWidth</a></code>
of type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/box.html#propdef-border-bottom-width'>
<em>border-bottom-width property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-borderCollapse"
name='CSS-CSS2Properties-borderCollapse'>borderCollapse</a></code>
of type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/tables.html#propdef-border-collapse'>
<em>border-collapse property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-borderColor"
name='CSS-CSS2Properties-borderColor'>borderColor</a></code> of
type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/box.html#propdef-border-color'>
<em>border-color property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-borderLeft"
name='CSS-CSS2Properties-borderLeft'>borderLeft</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/box.html#propdef-border-left'>
<em>border-left property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-borderLeftColor"
name='CSS-CSS2Properties-borderLeftColor'>borderLeftColor</a></code>
of type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/box.html#propdef-border-left-color'>
<em>border-left-color property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-borderLeftStyle"
name='CSS-CSS2Properties-borderLeftStyle'>borderLeftStyle</a></code>
of type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/box.html#propdef-border-left-style'>
<em>border-left-style property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-borderLeftWidth"
name='CSS-CSS2Properties-borderLeftWidth'>borderLeftWidth</a></code>
of type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/box.html#propdef-border-left-width'>
<em>border-left-width property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-borderRight"
name='CSS-CSS2Properties-borderRight'>borderRight</a></code> of
type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/box.html#propdef-border-right'>
<em>border-right property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-borderRightColor"
name='CSS-CSS2Properties-borderRightColor'>borderRightColor</a></code>
of type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/box.html#propdef-border-right-color'>
<em>border-right-color property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-borderRightStyle"
name='CSS-CSS2Properties-borderRightStyle'>borderRightStyle</a></code>
of type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/box.html#propdef-border-right-style'>
<em>border-right-style property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-borderRightWidth"
name='CSS-CSS2Properties-borderRightWidth'>borderRightWidth</a></code>
of type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/box.html#propdef-border-right-width'>
<em>border-right-width property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-borderSpacing"
name='CSS-CSS2Properties-borderSpacing'>borderSpacing</a></code> of
type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/tables.html#propdef-border-spacing'>
<em>border-spacing property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-borderStyle"
name='CSS-CSS2Properties-borderStyle'>borderStyle</a></code> of
type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/box.html#propdef-border-style'>
<em>border-style property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-borderTop"
name='CSS-CSS2Properties-borderTop'>borderTop</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/box.html#propdef-border-top'>
<em>border-top property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-borderTopColor"
name='CSS-CSS2Properties-borderTopColor'>borderTopColor</a></code>
of type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/box.html#propdef-border-top-color'>
<em>border-top-color property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-borderTopStyle"
name='CSS-CSS2Properties-borderTopStyle'>borderTopStyle</a></code>
of type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/box.html#propdef-border-top-style'>
<em>border-top-style property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-borderTopWidth"
name='CSS-CSS2Properties-borderTopWidth'>borderTopWidth</a></code>
of type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/box.html#propdef-border-top-width'>
<em>border-top-width property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-borderWidth"
name='CSS-CSS2Properties-borderWidth'>borderWidth</a></code> of
type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/box.html#propdef-border-width'>
<em>border-width property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSS2Properties-bottom"
name='CSS-CSS2Properties-bottom'>bottom</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/visuren.html#propdef-bottom'>
<em>bottom property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-captionSide"
name='CSS-CSS2Properties-captionSide'>captionSide</a></code> of
type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/tables.html#propdef-caption-side'>
<em>caption-side property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSS2Properties-clear"
name='CSS-CSS2Properties-clear'>clear</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/visuren.html#propdef-clear'>
<em>clear property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSS2Properties-clip"
name='CSS-CSS2Properties-clip'>clip</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/visufx#propdef-clip'>
<em>clip property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSS2Properties-color"
name='CSS-CSS2Properties-color'>color</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/colors.html#propdef-color'>
<em>color property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSS2Properties-content"
name='CSS-CSS2Properties-content'>content</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/generate.html#propdef-content'>
<em>content property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-counterIncrement"
name='CSS-CSS2Properties-counterIncrement'>counterIncrement</a></code>
of type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/generate.html#propdef-counter-increment'>
<em>counter-increment property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-counterReset"
name='CSS-CSS2Properties-counterReset'>counterReset</a></code> of
type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/generate.html#propdef-counter-reset'>
<em>counter-reset property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-cssFloat"
name='CSS-CSS2Properties-cssFloat'>cssFloat</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/visuren.html#propdef-float'>
<em>float property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSS2Properties-cue"
name='CSS-CSS2Properties-cue'>cue</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/aural.html#propdef-cue'>
<em>cue property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-cueAfter"
name='CSS-CSS2Properties-cueAfter'>cueAfter</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/aural.html#propdef-cue-after'>
<em>cue-after property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-cueBefore"
name='CSS-CSS2Properties-cueBefore'>cueBefore</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/aural.html#propdef-cue-before'>
<em>cue-before property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSS2Properties-cursor"
name='CSS-CSS2Properties-cursor'>cursor</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/ui.html#propdef-cursor'>
<em>cursor property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-direction"
name='CSS-CSS2Properties-direction'>direction</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/visuren.html#propdef-direction'>
<em>direction property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSS2Properties-display"
name='CSS-CSS2Properties-display'>display</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/visuren.html#propdef-display'>
<em>display property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-elevation"
name='CSS-CSS2Properties-elevation'>elevation</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/aural.html#propdef-elevation'>
<em>elevation property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-emptyCells"
name='CSS-CSS2Properties-emptyCells'>emptyCells</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/tables.html#propdef-empty-cells'>
<em>empty-cells property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSS2Properties-font"
name='CSS-CSS2Properties-font'>font</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/fonts.html#propdef-font'>
<em>font property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-fontFamily"
name='CSS-CSS2Properties-fontFamily'>fontFamily</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/fonts.html#propdef-font-family'>
<em>font-family property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-fontSize"
name='CSS-CSS2Properties-fontSize'>fontSize</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/fonts.html#propdef-font-size'>
<em>font-size property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-fontSizeAdjust"
name='CSS-CSS2Properties-fontSizeAdjust'>fontSizeAdjust</a></code>
of type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/fonts.html#propdef-font-size-adjust'>
<em>font-size-adjust property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-fontStretch"
name='CSS-CSS2Properties-fontStretch'>fontStretch</a></code> of
type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/fonts.html#propdef-font-stretch'>
<em>font-stretch property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-fontStyle"
name='CSS-CSS2Properties-fontStyle'>fontStyle</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/fonts.html#propdef-font-style'>
<em>font-style property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-fontVariant"
name='CSS-CSS2Properties-fontVariant'>fontVariant</a></code> of
type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/fonts.html#propdef-font-variant'>
<em>font-variant property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-fontWeight"
name='CSS-CSS2Properties-fontWeight'>fontWeight</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/fonts.html#propdef-font-weight'>
<em>font-weight property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSS2Properties-height"
name='CSS-CSS2Properties-height'>height</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/visudet.html#propdef-height'>
<em>height property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSS2Properties-left"
name='CSS-CSS2Properties-left'>left</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/visuren.html#propdef-left'>
<em>left property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-letterSpacing"
name='CSS-CSS2Properties-letterSpacing'>letterSpacing</a></code> of
type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/text.html#propdef-letter-spacing'>
<em>letter-spacing property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-lineHeight"
name='CSS-CSS2Properties-lineHeight'>lineHeight</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/visudet.html#propdef-line-height'>
<em>line-height property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-listStyle"
name='CSS-CSS2Properties-listStyle'>listStyle</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/generate.html#propdef-list-style'>
<em>list-style property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-listStyleImage"
name='CSS-CSS2Properties-listStyleImage'>listStyleImage</a></code>
of type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/generate.html#propdef-list-style-image'>
<em>list-style-image property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-listStylePosition"
name='CSS-CSS2Properties-listStylePosition'>listStylePosition</a></code>
of type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/generate.html#propdef-list-style-position'>
<em>list-style-position property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-listStyleType"
name='CSS-CSS2Properties-listStyleType'>listStyleType</a></code> of
type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/generate.html#propdef-list-style-type'>
<em>list-style-type property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSS2Properties-margin"
name='CSS-CSS2Properties-margin'>margin</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/box.html#propdef-margin'>
<em>margin property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-marginBottom"
name='CSS-CSS2Properties-marginBottom'>marginBottom</a></code> of
type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/box.html#propdef-margin-bottom'>
<em>margin-bottom property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-marginLeft"
name='CSS-CSS2Properties-marginLeft'>marginLeft</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/box.html#propdef-margin-left'>
<em>margin-left property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-marginRight"
name='CSS-CSS2Properties-marginRight'>marginRight</a></code> of
type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/box.html#propdef-margin-right'>
<em>margin-right property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-marginTop"
name='CSS-CSS2Properties-marginTop'>marginTop</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/box.html#propdef-margin-top'>
<em>margin-top property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-markerOffset"
name='CSS-CSS2Properties-markerOffset'>markerOffset</a></code> of
type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/generate.html#propdef-marker-offset'>
<em>marker-offset property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSS2Properties-marks"
name='CSS-CSS2Properties-marks'>marks</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/page.html#propdef-marks'>
<em>marks property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-maxHeight"
name='CSS-CSS2Properties-maxHeight'>maxHeight</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/visudet.html#propdef-max-height'>
<em>max-height property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-maxWidth"
name='CSS-CSS2Properties-maxWidth'>maxWidth</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/visudet.html#propdef-max-width'>
<em>max-width property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-minHeight"
name='CSS-CSS2Properties-minHeight'>minHeight</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/visudet.html#propdef-min-height'>
<em>min-height property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-minWidth"
name='CSS-CSS2Properties-minWidth'>minWidth</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/visudet.html#propdef-min-width'>
<em>min-width property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSS2Properties-orphans"
name='CSS-CSS2Properties-orphans'>orphans</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/page.html#propdef-orphans'>
<em>orphans property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSS2Properties-outline"
name='CSS-CSS2Properties-outline'>outline</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/ui.html#propdef-outline'>
<em>outline property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-outlineColor"
name='CSS-CSS2Properties-outlineColor'>outlineColor</a></code> of
type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/ui.html#propdef-outline-color'>
<em>outline-color property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-outlineStyle"
name='CSS-CSS2Properties-outlineStyle'>outlineStyle</a></code> of
type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/ui.html#propdef-outline-style'>
<em>outline-style property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-outlineWidth"
name='CSS-CSS2Properties-outlineWidth'>outlineWidth</a></code> of
type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/ui.html#propdef-outline-width'>
<em>outline-width property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-overflow"
name='CSS-CSS2Properties-overflow'>overflow</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/visufx.html#propdef-overflow'>
<em>overflow property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSS2Properties-padding"
name='CSS-CSS2Properties-padding'>padding</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/box.html#propdef-padding'>
<em>padding property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-paddingBottom"
name='CSS-CSS2Properties-paddingBottom'>paddingBottom</a></code> of
type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/box.html#propdef-padding-bottom'>
<em>padding-bottom property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-paddingLeft"
name='CSS-CSS2Properties-paddingLeft'>paddingLeft</a></code> of
type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/box.html#propdef-padding-left'>
<em>padding-left property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-paddingRight"
name='CSS-CSS2Properties-paddingRight'>paddingRight</a></code> of
type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/box.html#propdef-padding-right'>
<em>padding-right property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-paddingTop"
name='CSS-CSS2Properties-paddingTop'>paddingTop</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/box.html#propdef-padding-top'>
<em>padding-top property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSS2Properties-page"
name='CSS-CSS2Properties-page'>page</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/page.html#propdef-page'>
<em>page property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-pageBreakAfter"
name='CSS-CSS2Properties-pageBreakAfter'>pageBreakAfter</a></code>
of type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/page.html#propdef-page-break-after'>
<em>page-break-after property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-pageBreakBefore"
name='CSS-CSS2Properties-pageBreakBefore'>pageBreakBefore</a></code>
of type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/page.html#propdef-page-break-before'>
<em>page-break-before property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-pageBreakInside"
name='CSS-CSS2Properties-pageBreakInside'>pageBreakInside</a></code>
of type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/page.html#propdef-page-break-inside'>
<em>page-break-inside property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSS2Properties-pause"
name='CSS-CSS2Properties-pause'>pause</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/aural.html#propdef-pause'>
<em>pause property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-pauseAfter"
name='CSS-CSS2Properties-pauseAfter'>pauseAfter</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/aural.html#propdef-pause-after'>
<em>pause-after property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-pauseBefore"
name='CSS-CSS2Properties-pauseBefore'>pauseBefore</a></code> of
type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/aural.html#propdef-pause-before'>
<em>pause-before property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSS2Properties-pitch"
name='CSS-CSS2Properties-pitch'>pitch</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/aural.html#propdef-pitch'>
<em>pitch property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-pitchRange"
name='CSS-CSS2Properties-pitchRange'>pitchRange</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/aural.html#propdef-pitch-range'>
<em>pitch-range property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-playDuring"
name='CSS-CSS2Properties-playDuring'>playDuring</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/aural.html#propdef-play-during'>
<em>play-during property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-position"
name='CSS-CSS2Properties-position'>position</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/visuren.html#propdef-position'>
<em>position property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSS2Properties-quotes"
name='CSS-CSS2Properties-quotes'>quotes</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/generate.html#propdef-quotes'>
<em>quotes property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-richness"
name='CSS-CSS2Properties-richness'>richness</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/aural.html#propdef-richness'>
<em>richness property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSS2Properties-right"
name='CSS-CSS2Properties-right'>right</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/visuren.html#propdef-right'>
<em>right property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSS2Properties-size"
name='CSS-CSS2Properties-size'>size</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/page.html#propdef-size'>
<em>size property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSS2Properties-speak"
name='CSS-CSS2Properties-speak'>speak</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/aural.html#propdef-speak'>
<em>speak property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-speakHeader"
name='CSS-CSS2Properties-speakHeader'>speakHeader</a></code> of
type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/tables.html#propdef-speak-header'>
<em>speak-header property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-speakNumeral"
name='CSS-CSS2Properties-speakNumeral'>speakNumeral</a></code> of
type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/aural.html#propdef-speak-numeral'>
<em>speak-numeral property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-speakPunctuation"
name='CSS-CSS2Properties-speakPunctuation'>speakPunctuation</a></code>
of type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/aural.html#propdef-speak-punctuation'>
<em>speak-punctuation property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-speechRate"
name='CSS-CSS2Properties-speechRate'>speechRate</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/aural.html#propdef-speech-rate'>
<em>speech-rate property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSS2Properties-stress"
name='CSS-CSS2Properties-stress'>stress</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/aural.html#propdef-stress'>
<em>stress property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-tableLayout"
name='CSS-CSS2Properties-tableLayout'>tableLayout</a></code> of
type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/tables.html#propdef-table-layout'>
<em>table-layout property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-textAlign"
name='CSS-CSS2Properties-textAlign'>textAlign</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/text.html#propdef-text-align'>
<em>text-align property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-textDecoration"
name='CSS-CSS2Properties-textDecoration'>textDecoration</a></code>
of type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/text.html#propdef-text-decoration'>
<em>text-decoration property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-textIndent"
name='CSS-CSS2Properties-textIndent'>textIndent</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/text.html#propdef-text-indent'>
<em>text-indent property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-textShadow"
name='CSS-CSS2Properties-textShadow'>textShadow</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/text.html#propdef-text-shadow'>
<em>text-shadow property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-textTransform"
name='CSS-CSS2Properties-textTransform'>textTransform</a></code> of
type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/text.html#propdef-text-transform'>
<em>text-transform property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSS2Properties-top"
name='CSS-CSS2Properties-top'>top</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/visuren.html#propdef-top'>
<em>top property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-unicodeBidi"
name='CSS-CSS2Properties-unicodeBidi'>unicodeBidi</a></code> of
type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/visuren.html#propdef-unicode-bidi'>
<em>unicode-bidi property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-verticalAlign"
name='CSS-CSS2Properties-verticalAlign'>verticalAlign</a></code> of
type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/visudet.html#propdef-vertical-align'>
<em>vertical-align property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-visibility"
name='CSS-CSS2Properties-visibility'>visibility</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/visufx.html#propdef-visibility'>
<em>visibility property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-voiceFamily"
name='CSS-CSS2Properties-voiceFamily'>voiceFamily</a></code> of
type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/aural.html#propdef-voice-family'>
<em>voice-family property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSS2Properties-volume"
name='CSS-CSS2Properties-volume'>volume</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/aural.html#propdef-volume'>
<em>volume property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-whiteSpace"
name='CSS-CSS2Properties-whiteSpace'>whiteSpace</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/text.html#propdef-white-space'>
<em>white-space property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSS2Properties-widows"
name='CSS-CSS2Properties-widows'>widows</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/page.html#propdef-widows'>
<em>widows property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSS2Properties-width"
name='CSS-CSS2Properties-width'>width</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/visudet.html#propdef-width'>
<em>width property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a
id="CSS-CSS2Properties-wordSpacing"
name='CSS-CSS2Properties-wordSpacing'>wordSpacing</a></code> of
type <code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/text.html#propdef-word-spacing'>
<em>word-spacing property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>

<dt><code class='attribute-name'><a id="CSS-CSS2Properties-zIndex"
name='CSS-CSS2Properties-zIndex'>zIndex</a></code> of type
<code>DOMString</code></dt>

<dd>See the <a
href='http://www.w3.org/TR/1998/REC-CSS2-19980512/visuren.html#propdef-z-index'>
<em>z-index property definition</em></a> in CSS2.<br />
 

<div class='exceptions'><b>Exceptions on setting</b> 

<div class='exceptiontable'>
<table
summary='Layout table: the first cell contains the type of the exception, the second contains the specific error code and a short description'
 border='0'>
<tr>
<td valign='top'>
<p><code>DOMException</code></p>
</td>
<td>
<p>SYNTAX_ERR: Raised if the new value has a syntax error and is
unparsable.</p>

<p>NO_MODIFICATION_ALLOWED_ERR: Raised if this property is
readonly.</p>
</td>
</tr>
</table>
</div>
</div>

<!-- exceptions -->
</dd>
</dl>
</dd>
</dl>
</dd>
</dl>
</div>

<!-- div2 CSS-extended --></div>

<!-- div1 CSS -->
<div class='navbar' align='center'>
<hr title='Navigation area separator' />
<a accesskey='p' href='stylesheets.html'>previous</a> &nbsp; <a
accesskey='n' href='idl-definitions.html'>next</a> &nbsp; <a
accesskey='c' href='Overview.html#contents'>contents</a> &nbsp; <a
accesskey='i' href='def-index.html'>index</a></div>
</body>
</html>