...

View Full Version : Can you do mouse overs in HTML?



shakoor6
05-06-2011, 03:18 PM
im wondering if you can do mouseovers on text...when you hover your mouse it will underline?

teedoff
05-06-2011, 03:24 PM
im wondering if you can do mouseovers on text...when you hover your mouse it will underline?

Of course.


a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}

Kor
05-06-2011, 03:33 PM
Can you do mouse overs in HTML?

In fact in CSS
http://www.tizag.com/cssT/pclass.php
http://reference.sitepoint.com/css/pseudoclasses

Moreover, the modern browsers have implemented pseudo classes even in other elements than links (div, span, p, li...)

shakoor6
05-06-2011, 03:33 PM
thanx!im kinda new to all this..where abouts would i place this with the text?

Kor
05-06-2011, 03:34 PM
thanx!im kinda new to all this..where abouts would i place this with the text?
See my links above to the examples of usage.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum