hover attributes etc.

liunx

Guest
If on the hover attribute of an object, say a div, includes different height or width values than the normal object, does it work using only css? Meaning, does it use javascript or something? Thats what someone in another forum was saying....1. it werk with ankers & font-size
a:hover {color:#dd0040;background-color:#85d8f6;font-size:105%;font-weight:700}
2. tried test on <h5>...did NOT werk. suggest yu tri onmouseover.In theory the hover pseudo class can be applied to all elements. In reality, Internet Explorer only supports the hover pseudo class for anchors so if you want it applied to something else, you'll need some javascript for it to work yes.Three ways to simulate :hover in IE:
<!-- m --><a class="postlink" href="http://dean.edwards.name/IE7/">http://dean.edwards.name/IE7/</a><!-- m -->
<!-- m --><a class="postlink" href="http://www.htmldog.com/articles/suckerfish/">http://www.htmldog.com/articles/suckerfish/</a><!-- m -->
whatever:hover (<!-- m --><a class="postlink" href="http://www.xs4all.nl/~peterned/csshover.html">http://www.xs4all.nl/~peterned/csshover.html</a><!-- m -->)or wait for IE7 (<!-- m --><a class="postlink" href="http://blogs.msdn.com/ie/archive/2005/07/29/445242.aspx">http://blogs.msdn.com/ie/archive/2005/07/29/445242.aspx</a><!-- m -->) ;)Yummy. I can't wait for Microsoft's not as bad as our last one browser!
 
Back
Top