this post was submitted on 05 Jun 2026
939 points (96.0% liked)

Programmer Humor

31750 readers
1265 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] victorz@lemmy.world 7 points 4 days ago* (last edited 4 days ago) (1 children)

The irony is twofold here. A div takes up 100% of its parent's width by default because it's a block-level element, as all such elements do.

But centering stuff on the page has been trivially ezpz since at least a decade.

Poor div, always the butt of the joke.

[–] deadbeef79000@lemmy.nz 3 points 4 days ago (1 children)
[–] victorz@lemmy.world 2 points 4 days ago