Could we see the code how you make underlines ? Usually underline
doesn't change word spacing. If it's so, it might be that you've
changed
the font or size as well.
> -----Message d'origine-----
> De : susan.marshall@s... [mailto:susan.marshall@s...]
> Envoy=C3=A9 : vendredi 7 f=C3=A9vrier 2003 19:47
> =C3=80 : javascript
> Objet : [javascript] "jitter" when underlining an element via
> "onmouseover"
>
>
> I've got a tree that I expand, each branch is a <UL> list containing
> <LI> elements, which may have <UL> lists under them. At the end or
> "leaf" nodes I'm trying to underline the items only if the mouse is
> over them, using "onmouseover" and "onmouseout". This is
> working, but when the underline is drawn the display "jitters",
> like it's being redrawn and because the underline changes the
> spacing the text seems to move slightly. Strangely, increasing
> the refresh rate on my monitor seemed to help for a bit, but now
> the jitter is back. Increasing the font size decreases the amount
> of jitter but I'm not sure what to make of that information. :-)
> I know I've seen trees that don't show this movement. I've looked
> for examples and am still looking, but I thought perhaps someone's
> already dealt with this and can give me a quick tip. Other folks
have
> tried my page on their systems - some see the jitter and some don't.
> I haven't found any common denominator - everyone's using IE 6.00.26
> and either XP or Win2K.
>
> TIA,
> Susan
>