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, 12:57 PM   #1
ecchi
Banned
 
ecchi's Avatar
 
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
Angry (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
Since both do the same thing, changing them just fucks up websites and makes the code ugly. Not to mention the extra work they give us webmasters.

Bastards.


ecchi is offline   Reply With Quote
Old 2015-02-22, 01:06 PM   #2
Greenguy
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
 
Greenguy's Avatar
 
Join Date: Feb 2003
Location: Blasdell, NY (shithole suburb south of Buffalo)
Posts: 41,814
Send a message via ICQ to Greenguy
Oh for fuck's sake! I know I have that all over the place
__________________

Promote POV Porn Cash By Building & Submitting Galleries to the Porn Luv Network
Greenguy is offline   Reply With Quote
Old 2015-02-22, 02:55 PM   #3
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-22, 05:53 PM   #4
Greenguy
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
 
Greenguy's Avatar
 
Join Date: Feb 2003
Location: Blasdell, NY (shithole suburb south of Buffalo)
Posts: 41,814
Send a message via ICQ to Greenguy
I have no "class".
__________________

Promote POV Porn Cash By Building & Submitting Galleries to the Porn Luv Network
Greenguy is offline   Reply With Quote
Old 2015-02-23, 03:31 AM   #5
Toby
Lonewolf Internet Sales
 
Toby's Avatar
 
Join Date: Mar 2005
Location: Houston
Posts: 4,826
Send a message via ICQ to Toby
Quote:
Originally Posted by Greenguy View Post
I have no "class".


He'll be here all week folks, and don't forget to tip your waitress...
Toby is offline   Reply With Quote
Old 2015-02-23, 03:40 PM   #6
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
Old 2015-02-23, 03:55 PM   #7
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
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/
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2015-02-24, 04:05 AM   #8
ecchi
Banned
 
ecchi's Avatar
 
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
Quote:
Originally Posted by Cleo View Post
Lots of good references if you Google stuff, but this is one that I use a lot.
http://www.w3schools.com/css/
Thanks for that link.
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 01:09 AM.


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