this post was submitted on 12 Aug 2023
1522 points (97.6% liked)

Programmer Humor

31784 readers
93 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
all 26 comments
sorted by: hot top controversial new old
[–] [email protected] 93 points 1 year ago (5 children)

Just put everything into tables. That's how we did it when I were a lad

[–] [email protected] 30 points 1 year ago

OG grid layout

[–] [email protected] 8 points 1 year ago (1 children)

I used to enjoy building webpages with Notepad.

[–] CapnAssHolo 6 points 1 year ago (1 children)

Man this triggered some forgetten memories.

[–] [email protected] 14 points 1 year ago

This is my favorite Notepad memory: in the late '90s I went through a six-month stretch where Internet Explorer's "View Source" command just totally stopped working. It would normally open up the HTML source of a page in Notepad and suddenly not having this made debugging ... challenging to say the least. Nobody else that I worked with had this problem and nobody could figure out what had happened to me.

The culprit turned out to be an inexplicable IE bug where View Source wouldn't work if you had a shortcut named "Notepad" on your desktop. It didn't even have to be a shortcut to Notepad, it just had to be named that. The fix was to just rename the shortcut "NotepadX" and then View Source worked again.

[–] [email protected] 8 points 1 year ago* (last edited 1 year ago) (1 children)

Works for Word aswel (just make em invisible)

[–] [email protected] 5 points 1 year ago

Also works for Lua.

[–] cloudy1999 4 points 1 year ago (1 children)

This and bespoke, hand crafted rounded edges.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (1 children)

that's how I kept my digtal axes so sharp by hand grinding img corners

[–] cloudy1999 0 points 1 year ago* (last edited 1 year ago)

That's right, we don't need no stinkin' CSS!

Update: Just for clarity - we most definitely need the stinkin' CSS.

[–] [email protected] 2 points 1 year ago

Frames… Lots of frames.

[–] [email protected] 58 points 1 year ago* (last edited 1 year ago) (2 children)
                    Awesome
 
  It's a really good skill to learn.           But Make sure you get a good work flow.  
      You don't want to be one of those that can't center a div
[–] [email protected] 36 points 1 year ago (1 children)
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
display: flex;
align-items: center;
justify-content: center;
display: grid;
place-items: center;
[–] [email protected] 16 points 1 year ago (1 children)

Pah too many words just use tabs 🤣

[–] [email protected] 17 points 1 year ago (1 children)
[–] [email protected] 22 points 1 year ago

W3C: nah those mfs have it way too easy, deprecates it

[–] [email protected] 1 points 1 year ago

Who are you calling a div?

[–] [email protected] 27 points 1 year ago

Don't flex too hard

[–] [email protected] 21 points 1 year ago

Here is your trophy:

[–] [email protected] 13 points 1 year ago

without looking at the community i already saw from the top text that it has to be an css joke

[–] [email protected] 6 points 1 year ago

This is the real struggle

[–] [email protected] 5 points 1 year ago (1 children)

Learning tailwind for the first the be like

[–] MyNameIsIgglePiggle 2 points 1 year ago

Ha! Just started that 2 days ago

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

I sometimes think to grok CSS you have to have a printing degree.