View Single Post
Old 11-25-2015, 09:20 PM   #24
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,197
Karma: 148951761
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by theducks View Post
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.
JSWolf is online now   Reply With Quote