this post was submitted on 12 Aug 2023
1455 points (97.5% liked)

Programmer Humor

31224 readers
50 users here now

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

Rules:

founded 4 years ago
MODERATORS
 
all 26 comments
sorted by: hot top controversial new old
[–] [email protected] 90 points 10 months ago (5 children)

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

[–] [email protected] 31 points 10 months ago

OG grid layout

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

Works for Word aswel (just make em invisible)

[–] [email protected] 5 points 10 months ago

Also works for Lua.

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

I used to enjoy building webpages with Notepad.

[–] [email protected] 6 points 10 months ago (1 children)

Man this triggered some forgetten memories.

[–] [email protected] 14 points 10 months 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] 4 points 10 months ago (1 children)

This and bespoke, hand crafted rounded edges.

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

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

[–] [email protected] 0 points 10 months ago* (last edited 10 months 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 10 months ago

Frames… Lots of frames.

[–] [email protected] 56 points 10 months ago* (last edited 10 months 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] 37 points 10 months 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 10 months ago (1 children)

Pah too many words just use tabs 🤣

[–] [email protected] 18 points 10 months ago (1 children)
[–] [email protected] 22 points 10 months ago

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

[–] [email protected] 1 points 10 months ago

Who are you calling a div?

[–] [email protected] 26 points 10 months ago

Don't flex too hard

[–] [email protected] 19 points 10 months ago

Here is your trophy:

[–] [email protected] 12 points 10 months 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 10 months ago

This is the real struggle

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

Learning tailwind for the first the be like

[–] [email protected] 1 points 10 months ago

Ha! Just started that 2 days ago

[–] [email protected] 4 points 10 months ago* (last edited 10 months ago)

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