Closed
Bug 287980
Opened 20 years ago
Closed 20 years ago
Incorrect border style behavior for image inside a hyperlink
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 113599
People
(Reporter: chtgx, Assigned: bugzilla)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; zh-CN; rv:1.7.6) Gecko/20050226 Firefox/1.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.2; zh-CN; rv:1.7.6) Gecko/20050226 Firefox/1.0.1
A simple test html page
<html>
<head>
<style type="text/css">
A
{
padding:2px;
}
A:Hover
{
border:solid 1px red;
padding:1px;
}
</style>
</head>
<body>
<a href="#"><img src="/img/any.gif" border="1"></a>
</body>
</html>
The mouse over border style for A:Hover should surround the image instead of
cross it.
Reproducible: Always
Steps to Reproduce:
just try to open the example html page in firefox
Actual Results:
border style cross the image
Expected Results:
border style should surround the image
tested, works for IE 6
Comment 1•20 years ago
|
||
See also bug 97946. Basically, you probably want to define the border on the image, and not on the anchor. *** This bug has been marked as a duplicate of 113599 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•