line-through

CSS strikethrough different color from text?

The HTML elements del or strike, and the CSS text-decoration property with a value line-through, may all be used for a text strike-through effect. Examples: <del>del</del> ...gives: del <strike>strike</strike> ....gives: strike <span style='text-decoration:line-through'> text-decoration:line-through </span> ...

Inherited Text-Decoration style

How would I negate or remove a parents text-decoration style? For example in the following, both the text and the anchor have a text-decoration of line-through, is there a way to not have that applied to the anchor tag? <span style="text-decoration:line-through;"> Dead Text <a href="#" style="text-decoration:underline;color:Red;">Not ...

Strikethrough or line-through text using sIFR

I am using sIFR3-r436. I want to strikethrough or line-through some text. I have tried both <s>HTML</s> and CSS: text-decoration:line-through but it won't work. Here's my code. css: ['.sIFR-root { font-size:28px; line-height:36px; font-weight:bold; color:#130f0e; text-align:center; leading: 0; margin:0px; padding:0; }','strong {text-de...

How to change the strike-out / line-through thickness in CSS?

Hi, I'm using the "text-decoration:line-through" in CSS, but I can't seem to find any way to vary the line thickness without inelegant hacks like hr or image overlays. Is there any elegant way to specify the thickness of a line-through? Thanks! ...