Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2015-02-22, 02:55 PM   #1
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
Do it the correct way and it should work in everything.

Code:
US Dollars<br/><span style="text-decoration:line-through;">$9.95</span>
You can also get fancy with css and make the strikethrough a different color.

Code:
US Dollars<br/><span style='color:red;text-decoration:line-through'><span style='color:black'>$9.95</span>
Even better than doing css inline is to put the style in a stylesheet and call it up with a class.
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2015-02-23, 03:40 PM   #2
ecchi
Banned
 
ecchi's Avatar
 
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
Quote:
Originally Posted by Cleo View Post
Do it the correct way and it should work in everything.
When I learnt HTML I was never taught to use the "style" tag, it was so long ago, it may not have been added to HTML then. (G has no class, I have no style!) I have tried to learn the various attributes, but no one seems to publish a complete list. (Is it a trade secret or something?) So basically what I know comes from "reverse engineering" other people's websites and from board posts like your one here.

All the online tutorials on style expect you to learn CSS or object oriented style, and I am putting off learning CSS as long as possible (which is probably stupid - I did the same thing with Perl, and since I finally got round to learning it I have never worked out how I managed without it).

However, in my own defence: Before writing the webpage that caused this rant I did a Google search for a better method and was told by several websites that the "correct" method is to use "strike" and "del" together.
ecchi is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:31 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc