Closed
Bug 455831
Opened 17 years ago
Closed 17 years ago
hover effect configured only for <a> tags works also on <p> tags
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 162653
People
(Reporter: m.toth, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
move the mouse over the first paragraph block (after the table) you will see that the font is changing to red color!
That should only be valid for the a tags (links) in this page.
i have empty a tags as achnor defined: <a name="programme" /> .
the html and css files are w3c validated without errors.
Reproducible: Always
Steps to Reproduce:
1. open the url
2. move the mouse cursor to the first text block
Actual Results:
the text block <p> changes to the hover color defined for a tags
Expected Results:
the text block color should stay black.
from http://web-sniffer.net/?url=http%3A%2F%2Fwww.familietoth.at%2Fbugs%2FWA_WF_HS.html&submit=Submit&http=1.1&gzip=yes&type=GET&uak=0
Content-Type: text/html (BOM UTF-8)
so it's parsing the a tags as normal html which I think won't work with the tag format you're using.
You want: application/xhtml+xml
Please either serve your .html files with that header, or rename them to .xhtml
See http://www.hixie.ch/advocacy/xhtml for more info
you're right. i changed the extension to xhtml and the content type to application/xhtml+xml and it works now correctly.
but if i open the .xhtml document in ie it now asks me to open the file with firefox => ie is not able to display xhtml's?
if i only change the content type to application/xhtml+xml and stay at extension .html firefox does the undesired hover effect on the paragraph tags.
i changed the document to html 4.01 strict and now there's no problem.
so i think this is only a problem if a standards are not correctly implemented?
Updated•17 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•