Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Thu, 1 Jun 2006 12:52:25 -0500,    group: microsoft.public.inetsdk.html_authoring        back       


Pseudo-class in element's style attribute - how to?   
Hi,

According to the w3.org pseudo-classes can be used in element's style 
attribute.
Example:

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

Source: http://www.w3.org/TR/css-style-attr

But it does not seem to work in IE? Does it mean it is not supported?

Thank you,

Tomasz

Yes, I know this can be accomplished in several other ways.
date: Thu, 1 Jun 2006 12:52:25 -0500   author:   Tomasz Jastrzebski am

Re: Pseudo-class in element's style attribute - how to?   
Tomasz Jastrzebski wrote:

> According to the w3.org pseudo-classes can be used in element's style
> attribute.

I don't know of a client that implements this. (That doesn't mean there
isn't one.)

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

This is a four-year-old Working Draft. It is not a Recommendation.

 From the "Status of this Document" section:

   It is a public W3C Working Draft for review by W3C members and other
   interested parties. As a draft document it may be updated, replaced,
   or obsoleted by other documents at any time. It is inappropriate to
   use W3C Working Drafts as reference material or to cite them as other
   than "work in progress."

> But it does not seem to work in IE?

Do you know of a client that does support it?

> Does it mean it is not supported?

Yes.

-- 
Steve

Life can only be understood backwards; but it must be lived forwards.
-Soren Kierkegaard
date: Thu, 01 Jun 2006 15:48:20 -0400   author:   Steve Fulton

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us