Forum Moderators: open

Message Too Old, No Replies

Font question

         

jrstark

8:59 pm on Jan 30, 2004 (gmt 0)

10+ Year Member



I need to show proposed deleted test in a legal-type document on a webpage. Is there a commonly installed overstrike font? Is there another way of showing this without overstrike?

nafmo

9:06 pm on Jan 30, 2004 (gmt 0)

10+ Year Member



Have a look at the <del> tag. It also has a datetime attribute to indicate when the text was deleted.

There's also an <ins> for inserted text.

jrstark

10:12 pm on Jan 30, 2004 (gmt 0)

10+ Year Member



Perfect, thanks!

tombola

10:32 pm on Jan 30, 2004 (gmt 0)

10+ Year Member



Instead of <del>, you could use CSS:

text-decoration: line-through;

nafmo

10:04 am on Jan 31, 2004 (gmt 0)

10+ Year Member



I wouldn't use CSS instead of <del>, I use it in addition to <del>:

del { text-decoration: line-through; }