- From: Brian Sexton <discussion-w3c@ididnotoptin.com>
- Date: Tue, 7 Dec 2004 02:51:46 -0800
- To: "Sander van Dragt (by way of Bert Bos <bert@w3.org>)" <svandragt@s82.nl>
- Cc: <www-style@w3.org>
Sander, In addition to the overwriting issue about which you already know, you should also be aware that the example style definitions you submitted were for specific elements, not classes of elements. Use this: .ClassSelector { . . . } for this: <div class="ClassSelector">I am of a particular type of thing, but not necessarily unique.</div> <div class="ClassSelector">Me too.</div> <div class="ClassSelector">Me three.</div> Use this: #SpecificElementSelector { . . . } for this: <div id="SpecificElementSelector">I am the only one of my kind.</div> Kind regards, Brian Sexton
Received on Tuesday, 7 December 2004 10:51:48 UTC