List Info

Thread: parameterized classes?




parameterized classes?
user name
2006-10-29 04:12:09
Charles Iliya Krempeaux wrote:
> On 10/28/06, Lachlan Hunt wrote:
>> Charles Iliya Krempeaux wrote:
>>> I was wondering what people thought about
parameterized classes?
>>>
>>> <a class="group"
; href="a.html"></a>
>>
>> What's the specific use case where that would
actually be useful to a
>> user?  What's the problem you're trying to solve?
> 
> First I should repeat that this is NOT for a
Microformat.  Just some
> Semantic HTML for something else.  But having said
that...

Ok, then how is it relevant to this list?

> This is for loosely coupled alternates of the same
link.
> 
> So that I could say a set of links are "the
same" but have them
> anywhere on the page.  Even interwoven with other link
groups.

That doesn't answer my question, that just essentially
repeats what you 
already said.

>> > .group {
>> >    /* CSS stuff here */
>> > }
>>
>> ... that's not a valid selector.
> 
> How would you suggest writing it?

[class^="group:"], [class*=" group:"] {
color: green; }

-- 
Lachlan Hunt
http://lachy.id.au/
_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )