<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title> Grouping selectors </title> <link rel="stylesheet" href="book.css" type="text/css" /> <meta name="generator" content="DocBook XSL Stylesheets V1.69.1" /> <link rel="start" href="index.html" title="HTML_CSS Manual" /> <link rel="up" href="ch08.html" title= "Chapter 8. API - Application Programming Interface" /> <link rel="prev" href="re08.html" title="HTML_CSS::setStyle" /> <link rel="next" href="re09.html" title="HTML_CSS::createGroup" /> <style type="text/css"> /*<![CDATA[*/ body { background-color: white; color: black; } :link { color: #0000FF } :visited { color: #840084 } :active { color: #0000FF } h2.c1 {clear: both} /*]]>*/ </style> </head> <body> <table class="htmlcssHeader"> <tr> <td> <img src="img/pearsmall.gif" align="left" alt="PEAR logo" /> <h1> HTML_CSS : The Definitive Guide </h1> <div class="navheader"> <table width="100%" summary="Navigation header"> <tr> <th colspan="3" align="center"> Grouping selectors </th> </tr> <tr> <td width="20%" align="left"> <a accesskey="p" href="re08.html">Prev</a> </td> <th width="60%" align="center"> Chapter 8. API - Application Programming Interface </th> <td width="20%" align="right"> <a accesskey="n" href="re09.html">Next</a> </td> </tr> </table> </div><br /> <br /> </td> </tr> </table> <div class="sect1" lang="en" xml:lang="en"> <div class="titlepage"> <h2 class="title c1"> <a name="reference.api.group" id="reference.api.group"></a>Grouping selectors </h2> </div> <div class="toc"> <dl> <dt> <span class="refentrytitle"><a href="re09.html"><code class= "function">HTML_CSS::createGroup</code></a></span> <span class= "refpurpose">- Creates a new CSS definition group. Returns an integer identifying the group.</span> </dt> <dt> <span class="refentrytitle"><a href="re10.html"><code class= "function">HTML_CSS::unsetGroup</code></a></span> <span class= "refpurpose">- Sets or adds a CSS definition for a CSS definition group</span> </dt> <dt> <span class="refentrytitle"><a href="re11.html"><code class= "function">HTML_CSS::getGroupStyle</code></a></span> <span class= "refpurpose">- Returns a CSS definition for a CSS definition group</span> </dt> <dt> <span class="refentrytitle"><a href="re12.html"><code class= "function">HTML_CSS::setGroupStyle</code></a></span> <span class= "refpurpose">- Sets or adds a CSS definition for a CSS definition group</span> </dt> <dt> <span class="refentrytitle"><a href="re13.html"><code class= "function">HTML_CSS::addGroupSelector</code></a></span> <span class="refpurpose">- Adds a selector to a CSS definition group.</span> </dt> <dt> <span class="refentrytitle"><a href="re14.html"><code class= "function">HTML_CSS::removeGroupSelector</code></a></span> <span class="refpurpose">- Removes a selector from a group.</span> </dt> <dt> <span class="refentrytitle"><a href="re15.html"><code class= "function">HTML_CSS::setSameStyle</code></a></span> <span class= "refpurpose">- Sets or changes the properties of new selectors to the values of an existing selector</span> </dt> </dl> </div> <p> The most advanced/complex functions are those which handle group of selectors </p> </div> <table class="htmlcssFooter"> <tr> <td align="left"> HTML_CSS : The Definitive Guide </td> <td align="right"> v 1.1.3 : February 18, 2007 </td> </tr> </table> <div class="navfooter"> <hr /> <table width="100%" summary="Navigation footer"> <tr> <td width="40%" align="left"> <a accesskey="p" href="re08.html">Prev</a> </td> <td width="20%" align="center"> <a accesskey="u" href="ch08.html">Up</a> </td> <td width="40%" align="right"> <a accesskey="n" href="re09.html">Next</a> </td> </tr> <tr> <td width="40%" align="left" valign="top"> <code class="function">HTML_CSS::setStyle</code> </td> <td width="20%" align="center"> <a accesskey="h" href="index.html">Home</a> </td> <td width="40%" align="right" valign="top"> <code class="function">HTML_CSS::createGroup</code> </td> </tr> </table> </div> </body> </html>