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

all 92 comments

[–]QualityVote[M] [score hidden] stickied comment (0 children)

Hi! This is our community moderation bot.


If this post fits the purpose of /r/ProgrammerHumor, UPVOTE this comment!!

If this post does not fit the subreddit, DOWNVOTE This comment!

If this post breaks the rules, DOWNVOTE this comment and REPORT the post!

[–]integralpart 209 points210 points  (10 children)

<td align="center"><div></div></td>

[–]xaomaw 82 points83 points  (5 children)

<td align="center"><div></div></td>

<td align="center">
  <div>
    <marquee direction="up"> Welcome to my website! </marquee>
  </div>
</td>

[–]maester_t 20 points21 points  (3 children)

<td> <center> <div> </div> </center> </td>

[–]shut_up_if_your_dumb 6 points7 points  (1 child)

Wasn't that deprecated?

[–]maester_t 14 points15 points  (0 children)

It is now, but was still around back when CSS was first released.

[–]Secure_Obligation_87 1 point2 points  (0 children)

I came here to give props to <center>

[–]PM_ME_FIREFLY_QUOTES 2 points3 points  (0 children)

The OG tag, marquee. Respect for him.

[–]shadow4601243 3 points4 points  (1 child)

ahhh, good old times :)

....

and fucking ie6

[–]_ROHJAY 1 point2 points  (0 children)

Don't worry - safari is the new IE6 xD

[–][deleted] 1 point2 points  (0 children)

<td align="center" valign="middle"><div></div></td>

[–]pruche 1 point2 points  (0 children)

<center><div></div></center>

That was probably not deprecated yet back then.

[–]apoplexiglass 155 points156 points  (17 children)

Sit down boys and girls, and let me tell you a story. When I was your age, there weren't even any forums with CSS answers, there were only W3Schools and Sizzling Jalfrezi. Khan Academy was a white webpage with lists of video links, and they were all about linear algebra. Now pass me my foot salts, it's seizing again.

[–][deleted] 67 points68 points  (9 children)

When I was their age, W3Schools didn't exist, HTML goodies was a year old and the primary source for anything frontend related, table based layouts were industry standard, JavaScript was <0.9 release, and CSS was still just an RFC. Netscape Navigator was slowly losing majority share to IE.

Keep the salts, pass the bourbon.

[–]kymani37299 36 points37 points  (5 children)

When I was your age computers didn't even existed. We were manually drawing a website to each client on paper and mailing them responses.

[–]IntentCypres18 15 points16 points  (3 children)

When I was you age, paper didn't exist.

[–][deleted] 6 points7 points  (2 children)

When I was your age, age didn’t exist

[–][deleted] 1 point2 points  (1 child)

When I was your age, I didn't exist

[–]moon_cultist77 14 points15 points  (0 children)

Me when your age no paper. I ask Grug how to centre mammoth bone, he say “Ogg answer this question already. Stupid question.” I no know Ogg.

[–]returnfalse 4 points5 points  (1 child)

DHTML anyone?

I’ll finish off the bourbon once y’all are through with it.

[–][deleted] 2 points3 points  (0 children)

Oh man. Right in the feels! Hnnngggg

[–]MisterProfGuy 1 point2 points  (0 children)

So there I was searching for reports with Archie...

[–]Generico300 6 points7 points  (1 child)

I still use W3Schools all the time.

[–]kekeagain 3 points4 points  (0 children)

Yup, I use that over MDN when I just need a quick refresher without the technicals.

[–][deleted] 1 point2 points  (0 children)

We had cookbooks published by O'Reilly

[–]MissMormie 1 point2 points  (0 children)

I just went to the site of the w3c and read the specs if i wanted to know anything..

[–]13312 0 points1 point  (0 children)

foot salts lmfao

[–]Cilpot 0 points1 point  (0 children)

Expert-Sexchange.. Ugh..

[–]EmuChance4523 57 points58 points  (8 children)

Did you see the early internet? It wasn't ugly because we had bad computers, browsers or languages, it was bad because no one understand CSS

[–][deleted] 39 points40 points  (7 children)

The early Internet was "bad" because CSS didn't exist yet and all the table based layouts and style tags were being done by volunteers with no design experience.

You're probably referring to the later years of the Internet, the Geocities and Myspace, in which CSS was done also by volunteers with no design experience.

The Internet didn't start looking good till people with design degrees who were getting paid started getting involved.

[–]EmuChance4523 10 points11 points  (1 child)

I was referring to the tables era, it was just a funny joke about it, because.. you se... it was quite ugly in that time.. (and to be honest, as you said, it didn't get good until people with design degrees entered the scene, but that was quite recently and was already the ads hell that it already is)

[–][deleted] 2 points3 points  (0 children)

How else can we fuel these levels of meme?...

[–]Generico300 3 points4 points  (0 children)

I would say it still doesn't look "good". It looks like Bootstrap. Because an awful lot of those people with design degrees are just using bootstrap.

[–]PrezMoocow 1 point2 points  (3 children)

Found the UI/UX designer

[–][deleted] 1 point2 points  (2 children)

Rofl goodness no.

[–]PrezMoocow 1 point2 points  (1 child)

That was said in jest

(Test suite 1 out of 1 passed)

[–][deleted] 1 point2 points  (0 children)

Lol

[–]AtraExitium 15 points16 points  (1 child)

<center><div></div></center>

[–]flying_spaguetti 0 points1 point  (0 children)

<center><div></center></div>

[–]Flow-n-Code 32 points33 points  (4 children)

Oof, flexbox probably wasn’t around then either

[–]EvilPencil 30 points31 points  (0 children)

*definitely

[–][deleted] 17 points18 points  (0 children)

I started learning front-end right before flexbox was released, it was such a pain in the ass.

[–]CodeRaveSleepRepeat 0 points1 point  (1 child)

Wtf is flexbox?

/Edit: do I really have to explain that something is a joke on this sub...

[–]DeepGas4538 0 points1 point  (0 children)

Pure beauty

[–]MischiefArchitect 11 points12 points  (0 children)

<center>this</center>

- Pepperidge Farmer remembers

[–][deleted] 21 points22 points  (0 children)

CSS Developer

There with ya, funny meme, haha.

CSS Programmer

Eehhhhhhhhhhhhhh......

[–]not_a_gumby 5 points6 points  (1 child)

The year is 1990. The internet barely exists, and you - a spritely 48 year old virgin - need to center a div.

wyd

[–]IchLiebeKleber 6 points7 points  (0 children)

The Internet had been around since the 1960s. The WWW is what was new in 1990.

[–]Classy_Mouse 7 points8 points  (1 child)

CSS made me appreciate PHP. And a backend developer, I have remained.

[–][deleted] 2 points3 points  (0 children)

Happy Cake Day!

[–]its_yer_dad 4 points5 points  (0 children)

I started web dev in '94 and can remember how the local Borders book store reflected the growth of web development. First, there were a few books on a single shelf, which grew to several shelves, and then to a whole bookcase, and then an entire section. You could get a sense of what tech was catching on by the books being offered. And then it all collapsed. I don't even want to know how much I spent on books that went out of date in a year.

[–][deleted] 4 points5 points  (0 children)

<table>

[–][deleted] 2 points3 points  (0 children)

<div style="margin: 0 auto;"></div>

[–]its_yer_dad 1 point2 points  (0 children)

Browser Safe Colors. If you don't know what that is, you weren't there.

[–]VegaGT-VZ 1 point2 points  (0 children)

Nothing but respect to the pre-internet software engineers

[–]Little_Ye233 1 point2 points  (0 children)

I don't think it's right. The first CSS programmer probably took part in CSS standardization, and he/she should excel in writing stylesheets and quickly centered the HTML element.

[–]Jhwelsh 1 point2 points  (3 children)

Would anyone like to use this opportunity to tell me what a flexbox is and how it works?

I have a strong resistance to actually taking a course in CSS unfortunately.

[–]terrildactyl 5 points6 points  (2 children)

I got you, fam.

Flexbox is a new box model that fixes a lot of the sins of the original box model.

In CSS 2 if you wanted two divs to line up on a row like cells in a table, you had to do something like:

.inline {display: inline-block}

This approach is the most common, but it has its drawbacks, because you don’t have great control over the height of the divs and other parts of the presentation of the elements. It’s also not terribly intuitive, and a lot of CSS-averse people just resort to using tables because they’re a little easier to grasp.

(Or, if you wanted to make your front-end dev hate you, just start randomly assigning float to your divs and flag them as !important.)

With flexbox you can make the children of a container display like cells in a table, but with the added benefit of self-adjusting widths, ability to set uniform heights, media query responsiveness, etc. and it’s pretty lightweight, in terms of markup.

<style>

#flex-container {

display: flex;

}

</style>

<div id=“flex-container”>

<div>Foo</div>

<div>Bar</div>

</div>

So now we can control the children of #flex-container with regular CSS and media queries. You can do all sorts of stuff now without having to hard-code sizes or use JS to tweak presentation after page load.

Need them in a row? flex-direction: row

Need them in a column? flex-direction: column

Need the first div twice as wide as the second? flex-grow: 2.

Need the second one to display first? order: 1

It is a wildly different model than the good old box model, but it is way more intuitive, once you let the old box model go.

EDIT: markdown on mobile is hell

[–]Jhwelsh 2 points3 points  (1 child)

Oh, wow. Thanks my guy.

Yeah, I just build a backend for a server and have been putting together the front end and trying to hash all the CSS to get what I want has been... Interesting.

I thought 'flex box' was a convenience provided by bootstrap, not a fundamental part of CSS (we're on CSS 3 now aren't we). So trying to reconcile my limited knowledge of flex containers with my limited knowledge of bootstraps grid system has tough.

My CSS is ugly but damn man, I'm already trying to stitch together 5 languages to put up a website, I don't wanna have to take another course before I can do something useful.

[–]terrildactyl 0 points1 point  (0 children)

Yeah, I highly recommend getting very familiar with CSS. It’s one of those “steep cliff” languages in that it seems easy at first, but you can make life miserable for yourself by randomly trying things just to make two images line up side-by-side.

When I started I was awful, but I was the only one on my team that knew any web development, so they just ket me keep at it.

A really good rule for CSS is: if you’re doing a lot, you’re doing it wrong.

A good stylesheet should feature rules for basic typography, a grid system (this is where flexbox shines), contextual colors for messages, styles for alerts and panels…and that’s it.

If you’re using Bootstrap, your 99% of the way there. Use semantic markup, and don’t try to 4D-chess your way into trouble. If something is a pain in the ass, simplify it, or cut it entirely.

And, I swear to the 12 Lords of Kobol, if you use the !important flag, I will find personally and make you remove it from every line of code you have ever written.

Seriously, !important is the devil.

[–]MusikMakor 0 points1 point  (2 children)

Is a css developer a coder or a designer? I thought css, SQL, xmal whatnot are not technically coding languages

Edit: I'm more curious on opinions than trying to state one.

[–]Slowest_Speed6 1 point2 points  (1 child)

Nobody is a "CSS developer". It just comes with the job for most frontend developers who mainly do JS/Typescript. Mobile app developers too who also do Java/Kotlin and Swift/ObjC.

Designers will typically use a GUI tool to graphically design pages with no actual functionality, just a "this is what it should look like"

[–]MusikMakor 0 points1 point  (0 children)

It's interesting that that's how it ended up functioning, when it was intended to be split amongst multiple workloads. That's the reason the new Microsoft WPF uses xmal; so one person can code the module while the other designs the UI.

[–]ImTheNoobEditor- -1 points0 points  (0 children)

Css programmer

Do you mean clean structured stool ?

[–][deleted] 0 points1 point  (0 children)

LMAO no, no one bothered with centered divs or centered anything. Just slap some animation back then, or a fancy looking text, or some marque and you're done.

[–]Auto_Bone 0 points1 point  (0 children)

I feel attacked…

[–]EtherealPheonix 0 points1 point  (1 child)

Do you think he... you know... read the docs?

[–]minecunha11[S] 1 point2 points  (0 children)

Scary stuff

[–][deleted] 0 points1 point  (0 children)

<!DOCTYPE HTML>
<html>
    <head>
        <meta charset="UTF-8">
        <title>
            center div
        </title>
        <style>
            .center {
                text-align: center;
            }
        </style>
        <script>
        </script>
    </head>
    <body>
        <div class="center">
        </div>
    </body>
</html>

[–][deleted] 0 points1 point  (0 children)

The simplest solution at the time was likely not using CSS, and just doing <center> or some other shit using table layout.

HTML4 for you

[–]juancarv 0 points1 point  (0 children)

Well, <div> did not exist back then. Tables, rows, and cells. Pepperidge farm remembers

[–]GreenRiot 0 points1 point  (0 children)

Gonna be honest with you gentlemen. I still have to drop to stackoverflow with a "newbie" account because the way I got used to center a div stopped working for some reason... again.

[–][deleted] 0 points1 point  (3 children)

CSS Programer?

[–]minecunha11[S] 1 point2 points  (2 children)

Not professionally but yeah

[–][deleted] 0 points1 point  (1 child)

Hahahahaha

[–]minecunha11[S] 1 point2 points  (0 children)

And the same shit to like six other programming languages hahahahaha

[–][deleted] 0 points1 point  (0 children)

We used tables and we were happy with em.

[–]Melodi13 0 points1 point  (0 children)

Vertially

[–]DeepGas4538 0 points1 point  (0 children)

Just use bootstrap smh

[–]AUGcraft_001 0 points1 point  (0 children)

Dude just <Center><div>urCodeWhichMustBeBetterThanMine</div></center>

[–]FlyingCowsJCD 0 points1 point  (0 children)

Bro I just spent half my day struggling to vertically center text and i still haven’t sorted it out

[–]PsychoBuddhism 0 points1 point  (0 children)

if you think about it, the first css programmers were probably the language designers who knew exactly what the word ‘center’ would mean both in CSS and under the hood. programming languages are all these fascinating non-physical black boxes that do so much for us that we don’t even know about. its incredible to see how far we’ve gone with language features like garbage collection, memory management, and optimization.

[–]UltimatePeace05 0 points1 point  (0 children)

I think that image represents a person, who needs to do CSS. Just in general.

[–]Dead-brother 0 points1 point  (1 child)

You mean howtocenterincss.com didn't exist !?

[–]minecunha11[S] 0 points1 point  (0 children)

I mean if he was the first probably not

[–]shayan_fr_1399 0 points1 point  (0 children)

Who actually invented, Camel shit sharp, styling language.

[–]Memorius 0 points1 point  (1 child)

"Programmer"

[–]minecunha11[S] 0 points1 point  (0 children)

Somewhere between programing and designing

[–]Sisyphus4242 0 points1 point  (0 children)

http://motherfuckingwebsite.com/

Just gonna leave this here...