Quote:
Originally Posted by theducks
Your code would be good if the you had set
P { display: block;
margin: 0 ; /* all 4 edges */
}
somewhere beforehand
display: block breaks the inheritance cascade and starts over (from the outside layer)
Think 'Box Model'
|
I have a rather big dislike bordering on hate when I see the margin shorthand. I prefer it to be the long way because that just works better for modifying eBooks when the publisher screwed something up which is usually.