Closed
Bug 193688
Opened 23 years ago
Closed 23 years ago
A:hover affects anchors
Categories
(Core :: Layout: Block and Inline, defect)
Tracking
()
VERIFIED
INVALID
People
(Reporter: jabernet, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130
I don't know if this is really a bug, but it is surely a useless behaviour in my
opinion: if you define a a:hover proprerity the hover effect is not only applied
to links but also to anchors. Maybe this is defined like that in the
W3C-CSS-recommendations, but as far as I know :hover only applies to links.
Anyway, why should someone want an anchor beeing underlined? At least there
should be a possibility like a:link:hover to really ONLY affect links.
Reproducible: Always
Steps to Reproduce:
1. Define the CSS-properity A:hover
2. create an anchor using <A name="anchorname">anchor</a>
3. mouse over the anchor
Actual Results:
anchors are affected on mouse over
Expected Results:
no affection of anchors
Comment 1•23 years ago
|
||
a:link:hover does in fact work...
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
| Reporter | ||
Comment 2•23 years ago
|
||
You're right a:link:hover does work, but you have to define a:visited:hover if
you want the hover on visited links, too. I didn't realize that and though
a:link:hover doesnt work at all, sorry.
Comment 3•23 years ago
|
||
Janick - you may need to be careful though, because some older browers trip over
some of these variations. this page is a useful guide -
http://dbaron.org/css/1999/09/links
verified invalid (although I'm it's a dupe...)
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•