This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
OT? CSS and class attribute
- From: Kraa de Simon <Simon dot de dot Kraa at services dot fujitsu dot com>
- To: "'docbook-apps at lists dot oasis-open dot org'" <docbook-apps at lists dot oasis-open dot org>
- Date: Sun, 07 Apr 2002 12:26:16 +0200
- Subject: DOCBOOK-APPS: OT? CSS and class attribute
Hello,
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>
So my question is: can I change the appearance of *only* the <td> elements
that are within the class informaltable? (and leave other <td> elements
unchanged)
BTW
I can change the appearance of the class informaltable.
For example:
.informaltable {background: red}
Or change the appearance of the element within the class informaltable.
For example:
td {
border-left: 0.5pt solid black;
border-right: 0.5pt solid black;
border-top: 0.5pt solid black;
border-bottom: 0.5pt solid black;
}
Met vriendelijke groet / With kind regards,
Simon de Kraa
Systems Architect
e-Applications / Logistic Systems
FUJITSU SERVICES
Fujitsu Services B.V., Het Kwadrant 1
Postbus 4000, 3600 KA Maarssen, The Netherlands
Tel: +31 346 598865
Fax: +31 346 562703
Email: mailto:Simon.de.Kraa@services.fujitsu.com
Web: http://nl.services.fujitsu.com
Fujitsu Services B.V., Registered in the Netherlands no 30078286