kgpbeyond
03-03-2004, 04:49 AM
how do you do a cross-out or strikethrough in HTML? like so that the text has a line through it?
|
||||
How do you do a strikethrough tag?kgpbeyond 03-03-2004, 04:49 AM how do you do a cross-out or strikethrough in HTML? like so that the text has a line through it? Steveo31 03-03-2004, 04:55 AM Using CSS you could do it like: p.lined { text-decoration:line-through; } And use it like: <p class="lined">This text has a line through it.</p> <p>This doesn't</p> ReadMe.txt 03-03-2004, 02:57 PM the <s> tag will do it actually. It's an inline tag so use it in the same way was <b> or <i> EDIT: It's been depreciated as of the latest browser specs, so i would do something similar to the posta above, except using an inline tag instead of <p> : <style type="text/css"> .strike { text-decoration: line-through; } </style> <p><span class="strike">Striken out</span> normal text.</p> |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum