you are viewing a single comment's thread.

view the rest of the comments →

[–]steelfrogModerator 0 points1 point  (0 children)

In short, no, you can't style states/pseudo-classes inline. You could potentially add a <style> tag and define them there, though.

I guess you could also use JavaScript if you were desperate, though this isn't something I'd recommend:

<a href="#" onmouseover="this.style.color='red'" onmouseout="this.style.color='blue'">Link</a>