Closed Bug 328392 Opened 18 years ago Closed 18 years ago

href enclosing an image and text displays an underling on both image and text

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 193584

People

(Reporter: bugs, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1

The following code produces an underline under the image and text when the cursor hovers with Firefox but not with IE6.

<td width="25%" valign="top"><div align="center"><span style="font-family: Arial, Helvetica, sans-serif; font-size: 12px"><a href="qs-fish-range.php"><img src="images/qs-fish-200.jpg" width="200" height="100" border="0" /><br />Fish Series</a></span></div></td>



Reproducible: Always




The following CSS code applies to the link text

A:link {
	font-weight: bold;
	color:000044;
	text-decoration: none;
}
A:visited {
	font-weight: bold;
	color:000044;
	text-decoration: none;
}
A:hover {
	font-weight: bold;
	color:cc0000;
	text-decoration: underline;
}

If the image and text are treated as separate links there is no problem.
Related to/duplicate of Core bug 307095, Core bug 200091 or Core bug 193584?
Looks like it to me


*** This bug has been marked as a duplicate of 193584 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.