Home › Forums › CSS › Div doesn’t reach edge of browser page › Re: Div doesn’t reach edge of browser page
July 19, 2011 at 2:12 pm
#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).