[uf-discuss] RFC: Proposal for general purpose microformat

Scott Reynen scott at randomchaos.com
Fri Dec 2 15:00:37 PST 2005


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; }

Peace,
Scott


More information about the microformats-discuss mailing list