Charles Iliya Krempeaux wrote:
I was wondering what people thought about parameterized classes?

<a class="group:x" href="a.html"></a>
<a class="group:x" href="a.rss"></a>
<a class="group:x" href="a.atom"></a>

Perhaps the above could be Semantic HTML to mark alternate links.

Where "a.html", "a.rss", and "a.atom" would be a set of alternates.
And "b.png" and "b.jpg" would be another set of alternates.

What's the specific use case where that would actually be useful to a user? What's the problem you're trying to solve?

(This would have the advantage where these links could be very very
loosely coupled.  Which is why I might write Semantic HTML like this.)

I believe that CSS would have problems styling these types of class
names.

It wouldn't be a problem using the selectors .group\:a and .group\:b, but...

 For example, you could NOT do something like:

.group\:* {
   /* CSS stuff here */
}

... that's not a valid selector.

--
Lachlan Hunt
http://lachy.id.au/
_______________________________________________
microformats-discuss mailing list
[email protected]
http://microformats.org/mailman/listinfo/microformats-discuss

Reply via email to