homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

Text link mouseeover styles flicker in Netsc/Moz
browser bug or proper behaviour?

10+ Year Member

Msg#: 1902 posted 4:10 pm on Sep 22, 2003 (gmt 0)

A while ago, I noticed that when using Netscape or Mozilla browsers, mousing over a text link would only trigger the a:hover event if the 'point' of the the mouse pointer was hovering over part of an actual letter of a text link, but not its background.

When using IE/Opera, a text link is essentially a 'box' - move the mouse pointer anwhere in the 'box' and it will trigger the a:hover event.

Now I'm giving my site multiple CSS-based skins, It's really annoying me as I can't avoid it. Is this mouseover 'flickering' the correct way a text link should behave or has IE got it right for once?!



10+ Year Member

Msg#: 1902 posted 4:51 pm on Sep 22, 2003 (gmt 0)

I don't know much about CSS - but as I only ever use Mozilla, and never either of the others - I've never seen what you describe, just as an example - the way it works on here when the mouse is over one of the text buttons below is solid on/off with the box, not flickering with the letters... Maybe you're setting it on the wrong event, have you looked at some other stylesheets for examples?


10+ Year Member

Msg#: 1902 posted 6:38 pm on Sep 22, 2003 (gmt 0)

Use diplay:block on the links and declare some padding if you want hover to work on the whole block.


10+ Year Member

Msg#: 1902 posted 8:27 pm on Sep 22, 2003 (gmt 0)

Oh, what a relief!

I've just discovered that this only happens on the second display of my two-monitor setup (GeForce FX5900)
I usualy code (and browse) with the browsers open on the second monitor with and DW on the main monitor, so I'd never noticed that it works fine on the main display before.

Sorry about that, must be some kind of video card driver/resources thing. I thought it seemed odd, but with so many browser quirks, I couldn't tell for sure!

Thanks. >:o)

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved