Skip to content Skip to sidebar Skip to footer

Is Setting Overflow: Auto To All Elements Except Html Bad Practice?

When it comes to starting a new design I always start my style sheet with overruling the browser's default padding and margin on all elements: * { margin: 0; padding: 0; } After r

Solution 1:

Yeah, I do think it's bad practice. You should only use it when you don't know whether the content can break the size of an element.


Post a Comment for "Is Setting Overflow: Auto To All Elements Except Html Bad Practice?"