Forum Moderators: not2easy

Message Too Old, No Replies

pseudo-classes - inline style

embed the css in HTML so how do I handel pseudo classes

         

hrudayamm

10:08 pm on Apr 2, 2006 (gmt 0)

10+ Year Member



The requirement demands not to use seperate css
so need to get some thing like this
<div style="border:1px solid red;">
<div><a href="#" style="color:blue;">Link</a></div>
<div></div>
</div>

How do we specify a:hover and other pseudo-classes inside a HTML with the stlye="" attribute? :-?

PLEASE HELP

Hrud

DrDoc

12:11 am on Apr 3, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Although there is a way specified by the W3 to handle this, no browsers support it. So, I'm not even going to post the "how to" here, as I can't find the link right now ...
You have no choice but to use an embedded or external stylesheet anyway.