I have a case where I must write inline CSS code, and I want to apply a hover style on an anchor.
How can I use a:hover
in inline CSS inside the HTML st
I just figured out a different solution.
My issue: I have an tag around some slides/main content viewer as well as
tags in the footer. I want them to go to the same place in IE, so the whole paragraph would be underlined
onHover
, even though they're not links: the slide as a whole is a link. IE doesn't know the difference. I also have some actual links in my footer that do need the underline and color change onHover
. I thought I would have to put styles inline with the footer tags to make the color change, but advice from above suggests that this is impossible.
Solution: I gave the footer links two different classes, and my problem was solved. I was able to have the onHover
color change in one class, have the slides onHover
have no color change/underline, and still able to have the external HREFS in the footer and the slides at the same time!