This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
RE: OT? CSS and class attribute
- From: Rob Smith <rob dot smith at ifrsys dot com>
- To: docbook-apps at lists dot oasis-open dot org
- Cc: 'Kraa de Simon' <Simon dot de dot Kraa at services dot fujitsu dot com>
- Date: Tue, 09 Apr 2002 09:44:10 +0100
- Subject: RE: DOCBOOK-APPS: OT? CSS and class attribute
- Reply-to: rob dot smith at ifrsys dot com
> From: Kraa de Simon
> Is it possible to access elements *within* a <div
> class=""></div> using CSS?
>
> For example access the <td> element within the <div
> class="informaltable"></div> to change it's attributes.
>
> <div class="informaltable"><table><tr><td>xxx</td></tr></table></div>
div.informaltable td { ... }
http://www.w3.org/TR/REC-CSS2/selector.html#descendant-selectors
--
Rob Smith