View Single Post
Old 05-31-2011, 11:44 AM   #6
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,696
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
And, last question about css, why declaring the margins in pixels instead of em?
If you want margins, spacing and/or indents to scale when different font sizes are chosen by users, you probably want to use em. Pixel specified margins will stay the same regardless of font-size. For generic paragraph top/bottom margins, I tend to go with em, but I may use pixels with chapter header margin-tops for consistency.
DiapDealer is offline   Reply With Quote