Closed Bug 62750 Opened 25 years ago Closed 25 years ago

text-decoration none is not working in css-definiton

Categories

(Core :: Layout, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: jodoobiest, Assigned: clayton)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16 i686; en-US; 0.6) Gecko/20001205 BuildID: mozilla 0.6 as you can see in the example, the css-declaration text-decoration:none for the tag <span> is not working Reproducible: Always Steps to Reproduce: 1.testing http://www.dancehallmusic.de/linkeseite.html 2.testing other sites 3.testing http://www.dancehallmusic.de/hauptseite.html Actual Results: evertimes the same: text-decoration:none is not working in css-declaration - it is still underlined Expected Results: links should no be underlined nothing more to say
The usage of text-decoration on the page in question is invalid. From http://www.w3.org/TR/REC-CSS2/text.html#propdef-text-decoration: This property is not inherited, but descendant boxes of a block box should be formatted with the same decoration (e.g., they should all be underlined). The color of decorations should remain the same even if descendant elements have different 'color' values. Therefore, all children of an <a> element that is underlined should be underlined. To get the behavior you want, set the text-decoration property on the <a> element itself: <a href="blah" style="text-decoration:none">text</a> See also the comments on bug 52767, bug 27245, and bug 11377 for a detailed discussion of why this is invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
correct.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.