View Single Post
Old 02-18-2011, 03:57 PM   #65
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
What you want is some space above and below the paragraph? If you create a style in the stylesheet like p { margin-top: 0.3em; margin-bottom: 0.3em;} it will not work.

The reason is simple. The paragraph get the style from p and from calibre10. Unfortunately, calibre10 will overrule your desired setting, because there it is specified margin-top: 0 (among others).
Your solution could be removing the margin from the calibre settings, or setting the margin correctly in all the calibre settings.

Stylesheets are cascading, that's why your setting is overruled.
Toxaris is offline   Reply With Quote