Closed Bug 170593 Opened 23 years ago Closed 23 years ago

unable to prevent underline in span contained in anchor tag

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Windows 2000
defect
Not set
minor

Tracking

()

VERIFIED INVALID

People

(Reporter: david.bucci, Assigned: dbaron)

Details

Sample code: <a href="http://ilovethischurch.com"><span style="text-decoration:none">should not have an underline</span></a> Mozilla displays the underline, even though the <span> should override it. This occurs both with inline styling on the span tag, and with an external stylesheet, no difference. The following, however: <a href="http://ilovethischurch.com" style="text-decoration:none">no underline</a> does correctly suppress the underline. Cut-n-pastable sample doc showing both follows: <html> <head> </head> <body> Test of <a href="http://ilovethischurch.com"><span style="text-decoration:none">should have no underline</span></a> <br><br> <a href="http://ilovethischurch.com" style="text-decoration:none">should have no underline</a> using styles. </body> </html>
No, the 'span' shouldn't override the underline. Please see http://devedge.netscape.com/viewsource/2002/css-underlines/ for an explanation. Resolving INVALID.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.