78 Comments
- supergwiz, on 10/12/2007, -4/+49I see the analogy. I code CSS alone and with my hands all the time.
- zone, on 10/12/2007, -3/+48you finally found a way to use to that analogy, huh?
- Bogtha, on 10/12/2007, -0/+39#3 is bad advice:
> class="strong red align_right"
This is just a reinvention of <p align="right"><b><font color="red">, tying content to presentation.
What happens when you decide you want something to be blue instead of red? Go back through all your HTML to change the classes? Change your stylesheet so that class="red" means "make this blue"?
Classes should be used to describe *why* you are styling something, not *how* to style them. If you want to specify properties for many things in one go, that's what selector grouping is for. - sgtpinky, on 10/12/2007, -7/+37I would have thought that writing CSS was more like masturbation. It's usually only one person doing it.
- inactive, on 10/12/2007, -7/+26I'm just amazed a virgin could come up with that description.
- Angostura, on 10/12/2007, -6/+24Yes, let's see which other analogies fit that description, hmmm:
"Writing CSS is very much like trying to prune an apple tree in a high wind when you only have 5 minutes before dinner. Not everyone does it the same way and there is no particular “right” way to do it."
That seems about as stupid/apt. - ryanknapper, on 10/12/2007, -1/+18Having sex is a lot like writing CSS. It is rather confusing, rarely has useful comments and never ends up resembling the documentation.
- rasbill, on 10/12/2007, -7/+22trying to ask a bunch of geeks to relate to a sex analogy, I'm sure they will pick right up on that one /sarcasm
- Grimdotdotdot, on 10/12/2007, -8/+21"Writing CSS is very much like having sex."
No. It. Isn't. - DarthTurducken, on 10/12/2007, -7/+17Well there are plenty of *wrong* ways to do it.
/Not that I would know of course.........oh, shut up. - chabuhi, on 10/12/2007, -1/+9Okay, sue me for being a jerk, but with the amount of documentation on CSS out there this, to me, really doesn't rank. There's much better CSS info available and it's easy to find.
- l0ne, on 10/12/2007, -11/+18Yep. The first time is also strange, full of sweat, and you really don't know how to do it. :)
- inactive, on 10/12/2007, -9/+16I have 600 gigs of meticulously organized CSS templates.
- pinetree, on 10/12/2007, -0/+6Exactly. I only clicked into the comments on this article to see if someone had picked up on that. To phrase it a little differently, the CSS class name should describe "what is being styled" not "how it should look."
- Ozymandias42, on 10/12/2007, -2/+8Somebody's. On. Their. Period?
- joshross4, on 10/12/2007, -2/+7And I have 600 gigs of meticulously organized sex.
- rrbaker, on 01/15/2009, -6/+10Posting a ridiculous description to Digg is a lot like Rasko having sex. It takes a couple minutes and then someone laughs at you.
- jtrost, on 10/12/2007, -4/+8This looks like an incomplete intro to CSS guide. Anyone who already knows how to use CSS knows these 5 steps, and anyone who nothing nothing about CSS would find this guide completely useless.
- coolbru, on 10/12/2007, -2/+6Hm, lets see, one of these activities, the better you are at it, the less time it takes...
Or in the style of Swiss Toni (Dang, gadgetuk beat me to it!): "Writing CSS is remarkably like making love to a beautiful woman. You have to make sure you get everything lined up, slide your centre column between the left and right ones, get a good grip on the header, hope there's not too much margin, then massage until she validates". - DCstewieG, on 10/12/2007, -0/+4"Not having a right way" does not necessarily mean "has no wrong ways"
- inactive, on 10/12/2007, -0/+4this guy is wrong, there are lots of conventions and ways that CSS should be used.
http://jigsaw.w3.org/css-validator/
I mean if there wasn't a "wrong" way to do things then the W3C wouldn't have a css-validator for those who care to make sure they do things right. - jnorris441, on 10/12/2007, -1/+5No you didn't.
- y2048, on 10/12/2007, -6/+10Using CSS to make a table-less column layout for your site look the same in all major browsers is indeed just like sex.
The prison kind, that is. - grapetonic, on 10/12/2007, -3/+6Having all css declarations in one file and structuring it all up like this is okay for minor websites. But when coding larger websites i usually put all the layout coding (divs) in a separate file; layout.css. Fonts, paragraph and headings in font.css... and so on.
A method that I find very structured. But that's just me =P - jamesob5, on 10/12/2007, -9/+12I'm gonna go microwave a bagel and have sex with it.
- chrishill, on 10/12/2007, -2/+4Took this girl home the other night, took her to my room and showed her my font-weight:bold;....
- panique, on 10/12/2007, -1/+3Obviously rasko hasn't had sex (or hasn't had it in a very very long time) if he thinks it is anything like writing CSS. For one thing, I never ask my editor to go make me a sandwich when I'm done.
- alexp2ad, on 10/12/2007, -4/+5If I had to choose, I'd go with the sex.
- nitsuj, on 10/12/2007, -6/+7"Writing CSS is like making love to a beautful women. You've got to lay it out, twiddle with the details and upload it for a good finish..."
- Swizz Tony - bobslaede, on 10/12/2007, -4/+5I saw a guy the other day, on his site, calling it "Carbon Style Sheet"... Laughed.... It was actually a link from Digg... To some tutorials on Photoshopping, and CSS'ing...
- Daniel591992, on 10/12/2007, -1/+2now that's css you're talking about?
- inactive, on 10/12/2007, -7/+8Try to edit CSS less often and you might have time for more sex. Oh, and get a shower now and then.
- aerthling, on 02/26/2008, -0/+1I'm so relieved that there is no "right" way to do it - that takes the pressure off for sure. Whew. Now, about CSS...
- Sirfrummel, on 10/12/2007, -1/+2Just be careful if she starts talking about wanting a font-family:
- Drealoth, on 10/12/2007, -1/+2Unfortunately ... instead of 15 minutes, working with CSS is a lifelong adventure and most of the time it hurts.
- siuyee, on 10/12/2007, -1/+1I didn't even need to look up the author's name. The sex analogy told me the article was written by Jon from Yongfook.com.
- XxtraLarGe, on 10/12/2007, -1/+1This is a good article, but the problem is with the sex similie I can't pass it along to my co-workers without potentially facing some sort of negative repercussions.
- inactive, on 10/12/2007, -6/+6Unfortunately anyone can be an 'instant expert' on the internet.
- mindtrap, on 10/12/2007, -1/+1It's more like CSS is like a woman. You see beautiful examples by many. They all explain how easy it is and how it's supposed to work and how to write it. And they all explain how different browsers may render CSS differently.
But when it actually comes down to doing it, it takes hours of work and you may not get the satisfaction you expected out of it. And so you revert back to tables and get it done quick and easy. BTW, this is not a sex analogy. You read it however you want. - schleufer, on 10/12/2007, -1/+1I can kinda see the analogy too, except it goes something more like this:
"watching someone else do it isn't nearly as much fun as doing it yourself". - inactive, on 10/12/2007, -2/+2Obviously someone who is comparing coding CSS to having sex is very bad at one or the other. Sex is in no way like CSS. I did enjoy the article though.
- ERSWeb, on 10/12/2007, -1/+1Having CSS is like writing about sex. Once you strip away the layers all your left with is a pale, naked body.
- xx0xx, on 10/12/2007, -1/+1Writing CSS is like having sex, except theres no pleasure & excitement, and you can't do it for hours without getting bored, at least theres less of a penalty if you cant get it up in time! :)
man i've gotta grab a gatorade, i have three more attributes to define!! - tablatronix, on 10/12/2007, -1/+1Too bad his example files uses unix newlines and are useless to windows users using notepad.
- gukid, on 10/12/2007, -2/+2Writing a bad link description is very much like sex. It only takes a about 15 seconds for some people, whom end up looking like an idiot doing it.
- figvam, on 10/12/2007, -1/+1how did this make to the front page???
- Gaiden, on 10/12/2007, -2/+1lol , i like the quip from the tone of the rest of the comments.
Reminded me of that guy playing the Wii symphony game on youtube...
http://www.youtube.com/watch?v=njBdnRuc5F8&search=wii%20e3%20orchestra
Can you get a Wii plug comment on every article on Digg ? - Aamir, on 10/12/2007, -2/+1joshross4 lmao
- dergachev, on 10/12/2007, -10/+9Would you consider sharing it?
- cryptocom, on 10/12/2007, -5/+4"no particular “right” way to do it."
...lol...obviously written by a man. I think alot of women would have to disagree with you. -
Show 51 - 75 of 75 discussions



What is Digg?
The Digg Toolbar for Firefox lets you Digg, submit content, and keep track of Digg even when you're not on the Digg site. Download the official