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?

Well, I've used it a few times since I read that article and it rocks

In the relatively short time since then I've included in two of my own projects and suggested its use to a student. In the former case, I've found the added control makes everything so much easier. In the latter case it allowed her to centre her inline unordered list (she was seriously struggling with her navigation), and a few other things on her page all fell into place. I found out later that a significant portion of the class has now adopted it for their own stylesheets

I haven't encountered any problems with its use yet. I can't really envisage any. Obviously you need to add padding and margins specifically to most elements now, but I find that a benefit. After all, I rarely rely on default values for lists, paragraphs or headings

So thanks to Andrew (who I believe is a member?). I don't know why I never thought of it before, especially after Eric Meyer's article on removing default CSS; but I didn't, so kudos to you

In other words, Nick, I say use it all the time. I am
******************************************************
The discussion list for  http://webstandardsgroup.org/

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



Reply via email to