[uf-discuss] RFC: Proposal for general purpose microformat
Tantek Ç elik
tantek at cs.stanford.edu
Fri Dec 2 15:08:50 PST 2005
On 12/2/05 3:00 PM, "Scott Reynen" <scott at randomchaos.com> wrote:
> Abramo Bagnara wrote:
>
>> As an example consider that a web page might already use class
>> "description" for its own purpose. Suppose now that he'd like to add
>> hCalendar encapsulation: how he can easily represent differently the
>> hCalendar content and the others?
>
> There are two easy ways to do that. One is by hierarchy:
>
> .description { color: #f00; }
> .hcalendar .description { color: #00f; }
>
> The other is multiple class names:
>
> .description { color: #f00; }
> .description.microformat-only { color: #00f; }
Thanks Scott!
Scott is precisely correct.
In addition, this has been covered in the FAQ for a while:
http://microformats.org/wiki/faq#Class_interactions
Thanks,
Tantek
More information about the microformats-discuss
mailing list