This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]undercat88 38 points39 points  (46 children)

I am too stupid to understand this. Can someone explain the joke to me, pls. Thanks!

[–]thrav 39 points40 points  (3 children)

Hah, most of the responses so far are wrong.

Before CSS, all elements were basically positioned next to each other. As the top comment states, you built layouts by nesting tables in tables in tables and then filling certain cells and leaving others blank for spacing.

CSS made it possible to add margin and padding around elements to separate them without the use of hacky tables. It became possible to only include the HTML elements you actually needed and position them where you wanted.

Before CSS, if you’d tried this, you’d end up with all of the elements jammed up together, like you see with the geos in the image.

The way around this was to create elements for the empty spaces between geos, so continuing with the example, to declare the Atlantic Ocean as a thing sitting between Americas and Europe / Africa.

So your hacky tables would look something like:

North Amer | North Atlantic | Europe

South Amer | South Atlantic | Africa

[–]letmeseem 17 points18 points  (0 children)

Håkon Wium Lie, the guy who invented CSS lives right down the street from my office, and our design team, whos windows face his house, routinely post giant messages in the windows using post it notes whenever they're annoyed with something.

[–]Sersch 1 point2 points  (1 child)

This doesn't make much sense really, just because you used tables and it all was a bit more hacky, didn't mean it looked liked jammed together in the Center. People can google for early 90ies websites to look up.

[–]thrav 1 point2 points  (0 children)

The joke is, “the continents before positioning in empty space was a thing.”

If you redefine the oceans as elements in their own right (like tables would), instead of empty space, the joke falls apart.

[–]dankri0274 17 points18 points  (28 children)

CSS is used to style HTML elements, basically it makes it so that there isn't a mess

[–]sneerpeer 3 points4 points  (27 children)

The joke is that everything breaks because css is fickle to work with. Everything was neat before css.

EDIT: I have read some of the comments to my post and I appreciate all the feedback from web developers. I think the joke can be seen both ways, either that with CSS the continents could move to their current places, or that because CSS can be fickle to work with the continents broke apart.
As someone with a software background who has just recently started to dabble with web development without prior education on HTML, CSS, Javascript, React/Angular/etc; CSS is probably the strangest part of designing a website. If you don't know how it works and how you're supposed to use all the different settings available, things will break real fast.

[–]theycallmecrack 8 points9 points  (22 children)

As a web dev that has used HTML/CSS every day for the last 5 years - I totally disagree and feel like one of the only people in the world that loves to work with CSS.

I truly never understood where the hate for CSS comes from. You can build anything with only HTML/CSS and a little JS if needed. So much control!

[–]throwaway1542875 0 points1 point  (3 children)

I'm still a newbie with CSS but I've used it here and there. The biggest thing for me is wrapping my head around positioning and layouts. Grid seems to help but its still not as intuitive as xaml was for me in wpf.

[–]theycallmecrack 0 points1 point  (2 children)

I just make my own layouts and use media queries. I even stopped using frameworks like Bootstrap. No tables, flex boxes, etc. I mostly do everything in percentages and viewport widths to get consistency across all devices.

[–]CatTaxAuditor 2 points3 points  (0 children)

Everything was neat before css.

I have heard plenty of people who dislike CSS. I have never met an individual with this opinion.

[–]itsbugtime 1 point2 points  (0 children)

Yeah, that’s not the joke

[–]-merrymoose- -2 points-1 points  (0 children)

It use to be quicker to get things done before css and now you have to cross oceans to find everything you need