August 19th, 2003, 01:39 AM
| Nunzio said |
Hmmm.. now I'm wondering if I should add the padding and border values back in. As you had probably noticed, I had commented them out thinking they were superfluous.
That's most often a graphic design question. Padding provides "white space" in the element's background color. Borders provide just that, and margins provide "white space" in the parent element's background color. Borders and margins have *-collapse rules to consider.
So, try it, see if you like it.
There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing.
My html and css workshop
, demos and tutorials.
Ask a better question
, get a better answer.