View Single Post
Old 10-23-2014, 04:49 PM   #6
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: 79,856
Karma: 146918083
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
Forget wolfman's way. YOU get no control that way.

<p> uses the Device settings.
<p class="foo"> at least gives you a chance (the device might still ignore user stylesheets)
That's just so way wrong.

Code:
p {
margin-top: 2%;
margin-bottom: 42em;
margin-left: 15em;
margin-right 1px;
font-weight: bold;
text-indent: 1.2em;
text-align: center
}
That is a p style that overrides whatever the default is for p and makes p a horrible mess.

This is what I use for p that is a lot more normal and works.

[code]p {
margin-top: 0;
margin-bottom: 0;
text-indent: 1.2em
}[code]

I don't specify left/right margins in p as they are specified in body and work from there. Justification is also picked up from body.
JSWolf is offline   Reply With Quote