Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to apply hover style inline.

0 views
Skip to first unread message

info

unread,
Nov 6, 2002, 7:35:47 AM11/6/02
to
We can define and use the hover style as the following

A:hover {color=red}

<A href="www.springsys.com"> Visite My Site</A>

But how could I put the pseudo definition inside the style attribute of the
tag <A>
I just want to achieve like this:

<A href="www.springsys.com" style="hover_color:red"> Visite My Site</A>

Can I achieve this target? This is important to me while dynamic generate
html content, other wise I have to define the css style before the tag.


Rowland Shaw

unread,
Nov 6, 2002, 11:40:09 AM11/6/02
to
No, the pseudo classes cannot be specified inline.


"info" <in...@springsys.com> wrote...

0 new messages