[whatwg] Predefined classes are gone

Hello Adrienne,

On 5/17/07, Adrienne Travis <altravis at eidolongroup.com> wrote:

[...]

 But unfortunately, that
> totally breaks backwards-compatibility if not done very carefully. (If
> i declare class="dc:author" , i CAN'T address that in my stylesheet.


I believe you can style the class name "dc:author" with CSS code like the
following...

dc\:author {
    /* Your style here */
}

(Note the backslash in there.)

So, no need for doing stuff with dashes.


If the namespacing was handled with dashes, like class="dc-author",
> that would work, though.)


[...]


See ya


-- 
    Charles Iliya Krempeaux, B.Sc.

    charles @ reptile.ca
    supercanadian @ gmail.com

    developer weblog: http://ChangeLog.ca/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20070517/0dcc2395/attachment.htm>

Received on Thursday, 17 May 2007 12:34:05 UTC