Sometimes we need to do an inline CSS for whatever reasons. Very quick easy way to create a hover effect:
<a onmouseover=”this.style.color=’#944e06′;” onmouseout=”this.style.color=’#cb6412′;” style=”color:#cb6412; text-decoration: underline;” href=”http://www.nikkifoundation.com/about”>Check it out.</a>
Additional styling:
this.style.fontWeight=’bold’
this.style.fontStyle=’italic’
this.style.background=’white’
Good Luck!
3 Comments until now
This works. Thx!
Henk.tel
Great ! I’ve always wondered how to achieve hover effect on inline CSS without result. Now I found out how to. Thanks !!!
Great Idea..!!!
Thanks.
Add your Comment!