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

Programmer Humor

19463 readers
372 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
688
CSS (i.imgur.com)
submitted 7 months ago* (last edited 7 months ago) by [email protected] to c/[email protected]
 

easy to get into trouble for sure.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 9 points 7 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

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

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

[–] [email protected] 2 points 7 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 😔

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

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