Text changing sizes onMouseOver is pretty annoying, but you can get this
with CSS and its pseudo-classes. Just do something like making the
style/format for a:link in one size and the style/format for a:hover in a
different size. Be aware that without further qualification, this will
affect all links on your page.
<p>Hi,</p>
<p>
<span class="normsize" onmouseover="this.className='bigsize'"
onmouseout="this.className='normsize'">Mouseover me and see me get
big</span></p>
<p>'Bye</p>
I used percentages for the font sizes, but you can use whatever you like.
You can also put the style delarations on a style sheet. And don't forget
the capital N in "this.className"
But if you happen to click on the text while you are mousing over it (as a
reader may do), you get a little frame of dots around the text. Any way
around that?
That only happens in IE/Mac, I believe. It's an accessability thing, but
there is a way to banish it. I just ignore it personally. If only IE
supported the hover pseudo-class on things besides <a> tags, you could do
this -
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.