strikethrough

S

shank

How can I cross-out a regular price with something other than a
strikethrough?
Is it possible to place a red 'x' over text, without using a graphic?

thanks!
 
J

Jukka K. Korpela

shank said:
How can I cross-out a regular price with something other than a
strikethrough?

What's wrong with strikethrough? You could use a little trick to make
it take a color different from that of the text: use markup like
<del><span>$120</span></del>
and a style sheet like
del { color: red; text-decoration: line-through; }
del span { color: black; background: white; }
Is it possible to place a red 'x' over text, without using a graphic?

Not really, not in any reliable way. And, after all, those x's wouldn't
really be characters, would they? They are graphics more than
characters. For simplicity, I would actually make the entire expression
(the price and the "x") a single image, and use
<img alt="Old price was $120." src="old120.gif">
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top