Dominik S.: Unterstrichene Bilder

Beitrag lesen

Das ist kein Bug.
http://www.w3.org/TR/REC-CSS2/text.html#lining-striking-props

If it is specified for (or affects) an inline-level element, it affects all boxes generated by the element. If the element has no content or no text content (e.g., the IMG element in HTML), user agents must ignore this property.

Danke für den Link. Dann ist wohl tatsächlich ein Workaround nötig. Ich hab noch eine Variante gefunden, die mir deutlich besser gefällt, als Deine:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<body>
<a href="test.html" style="text-decoration: none;"><img src="http://forum.de.selfhtml.org/src/xweb.gif" alt="web" border="0"><u>Dies ist ein Test</u></a>
</body>
</html>