this post was submitted on 20 Mar 2024
698 points (97.3% liked)

Programmer Humor

19310 readers
1590 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 1 year ago
MODERATORS
698
CSS (i.imgur.com)
submitted 6 months ago* (last edited 6 months ago) by nullPointer@programming.dev to c/programmer_humor@programming.dev
 

easy to get into trouble for sure.

you are viewing a single comment's thread
view the rest of the comments
[–] Ironfacebuster@lemmy.world 9 points 6 months ago (2 children)

Trying to fix padding on an element that has "pad-left" and "padding" at the same time but you don't realize it

[–] diffcalculus@lemmy.world 7 points 6 months ago (1 children)

The way to fix a pad-bottom is simple! Just give the next element a negative margin-top!

[–] Ironfacebuster@lemmy.world 2 points 6 months ago

I feel like I've actually done that, but it was only because I had to have the padding or else everything broke

I'm glad I'm not alone 😔

[–] fidodo@lemmy.world 1 points 6 months ago

That's no big deal, just use a linter. It's also pretty obvious what the priority is in the inspector.