this post was submitted on 05 Jun 2026
928 points (95.9% liked)

Programmer Humor

31711 readers
303 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 2 days ago* (last edited 2 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 2 days ago (1 children)
[–] victorz@lemmy.world 2 points 2 days ago