News for hackers. Stuff that matters.
Re:They Say: Do Not Use Margins in CSS. How I Use Them Anyway by throwoutway on Friday January 14, 2022 @07:31PM (#29942372)
Margins are amazing. I’ve been using margins in CSS for over 20 years and it’s fine. Though I don’t use any fancy frameworks or things where encapsulation, copy/paste, etc will cause problems.

If you code HTML&CSS with W3C standards, you’ll be happier. Maybe I’m an old timer

Re:They Say: Do Not Use Margins in CSS. How I Use Them Anyway by atoav on Saturday January 15, 2022 @03:43AM (#29944877)
Has nothing to so with age, I am relatively young and I try to go for HTML + CSS with minimum sprinkles of (vanilla) javascript too.

The only thing that I tend to use is a reset.css, everything else I write on the fly.