hi,
Das Beispiel hinkt sogar sehr. Ein <b>abc <span style="font-weight:normal;color:red;">test</span> abc</b> wird ja eben nicht fett dargestellt, während ein <u>abc <span style="text-decoration:none;color:red;">test</span> abc</u> ja sehr wohl unterstrichen ist.
Es bringt generell nichts, in diesem Falle Eigenschaften wie font-weight oder color mit text-decoration zu vergleichen.
In CSS ist text-decoration nun mal so definiert, und damit hat es sich eigentlich.
"The 'text-decoration' property on descendant elements cannot have any effect on the decoration of the element."
Da finde ich meinen Vegleich mit dem border-bottom deutlich besser...
Der Begriff der Vererbung ist dort trotzdem fehl am Platze.
gruß,
wahsaga
--
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }