|
2015-02-22, 12:57 PM | #1 |
Banned
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
|
(rant) If It Ain't Broke Don't Fix It!
OK, so code languages improve with time, and HTML is no exception. But why replace one, perfectly good thing with another command that does exactly the same thing????????
I was happy using "strike", I'm equally happy using "del". But one only works if the browser supports HTML5, and the other only works if it is an older browser. Since I don't know what browser my surfer uses I have to use both, which is messy. Code:
US Dollars<br><strike><del>$9.95</del></strike> $4.95 Bastards. |
2015-02-22, 01:06 PM | #2 |
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
|
Oh for fuck's sake! I know I have that all over the place
|
2015-02-22, 02:55 PM | #3 |
Subversive filth of the hedonistic decadent West
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> Code:
US Dollars<br/><span style='color:red;text-decoration:line-through'><span style='color:black'>$9.95</span> |
2015-02-22, 05:53 PM | #4 |
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
|
I have no "class".
|
2015-02-23, 03:31 AM | #5 |
Lonewolf Internet Sales
|
He'll be here all week folks, and don't forget to tip your waitress... |
2015-02-23, 03:40 PM | #6 |
Banned
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
|
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. |
2015-02-23, 03:55 PM | #7 |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
I use Adobe Dreamweaver that writes much of the CSS for me, but not all of it.
Lots of good references if you Google stuff, but this is one that I use a lot. http://www.w3schools.com/css/ |
2015-02-24, 04:05 AM | #8 | |
Banned
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
|
Quote:
|
|
|
|