By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,971 Members | 1,467 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,971 IT Pros & Developers. It's quick & easy.

wonder what happened to inline pseudo-classes

P: n/a
(assuming i'm using correct terminology...)

seems this draft isn't too old, nor too young?

Syntax of CSS rules in HTML's "style" attribute
W3C Working Draft 15 May 2002
http://www.w3.org/TR/css-style-attr.html#examples

Setting properties on a source anchor for each of its dynamic states, using pseudo-classes:

<a href="http://www.w3.org/"
style="{color: #900}
:link {background: #ff0}
:visited {background: #fff}
:hover {outline: thin red solid}
:active {background: #00f}">...</a>

Jul 16 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Qu*******@anon.com" <Qu*******@anon.comwrote:
wonder what happened to inline pseudo-classes
Never implemented by anyone afaik.
>(assuming i'm using correct terminology...)

seems this draft isn't too old, nor too young?
W3C puts forward proposals, those that are implemented make it to Rec
status. This one was effectively rejected by implementors.

Not surprisingly IMO. The HTML style attribute itself is considered as
an anomaly by quite a few. The way that it is used in the wild largely
backs up that fundamental objection, there is a considerable amount of
code out there with most or all styling being applied inline. Extending
it beyond what is currently implemented would add insult to injury.

--
Spartanicus
Jul 16 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.