wsg  

Re: [WSG] Zeroing default padding/margin

Mordechai Peller
Mon, 18 Oct 2004 04:07:15 -0700

Nick Lo wrote:

I was just reading the article excerpted below and was curious as to how many on the list have used this technique of initially setting all padding and margins to 0 and if so how successful was it?

I remember reading a similar suggestion a while back (I don't remember where) which included {border : 0; font-site 100.1%; line-height : 1.6;} (actually, other than being there, I don't remember what the line height was, but I suppose it doesn't matter for this thread).


IIRC, the 100.1% was to correct for a rounding error in either Opera of Safari where 100% was treated as 99%.
******************************************************
The discussion list for http://webstandardsgroup.org/


See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************