Blog Post

Padding: none; & Margin: none;

The Zombie: padding: none; and margin: none;

Always a Zombie? Yes (it doesn’t work)

Severity: mediumlow (a few margins/paddings that aren’t set to 0 probably won’t break your site, just make it look funky. That said, there are times when this kind of error could make a layout unusable and send users running for the post-apocalyptic hills.)

Why it’s a zombie: None is not a keyword padding and margin understand so they won’t recognize it and whatever margin and padding previously set will remain.

Cure the Zombie by: Use padding: 0; or margin: 0;