Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   General Business Knowledge (http://www.greenguysboard.com/board/forumdisplay.php?f=10)
-   -   (rant) If It Ain't Broke Don't Fix It! (http://www.greenguysboard.com/board/showthread.php?t=67110)

ecchi 2015-02-22 12:57 PM

(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$9.95 $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.


|banghead|

Greenguy 2015-02-22 01:06 PM

Oh for fuck's sake! I know I have that all over the place |banghead|

Cleo 2015-02-22 02:55 PM

Do it the correct way and it should work in everything.

Code:

US Dollars
$9.95

You can also get fancy with css and make the strikethrough a different color.

Code:

US Dollars
$9.95

Even better than doing css inline is to put the style in a stylesheet and call it up with a class.

Greenguy 2015-02-22 05:53 PM

I have no "class".

Toby 2015-02-23 03:31 AM

Quote:

Originally Posted by Greenguy (Post 537153)
I have no "class".

|rimshot|

He'll be here all week folks, and don't forget to tip your waitress... :)

ecchi 2015-02-23 03:40 PM

Quote:

Originally Posted by Cleo (Post 537152)
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.

Cleo 2015-02-23 03:55 PM

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/

ecchi 2015-02-24 04:05 AM

Quote:

Originally Posted by Cleo (Post 537174)
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.


All times are GMT -4. The time now is 06:37 AM.

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