Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Div doesn’t reach edge of browser page Re: Div doesn’t reach edge of browser page

#83649
wolfcry911
Participant

Its perfectly acceptable – except that you don’t need the unit type with a zero value

html, body { margin: 0; padding: 0; } 

Setting specific elements’ margin and padding to zero is different than a generic reset, which is what some people are bothered with (me, for example).