Thread: Blockquote css
View Single Post
Old 08-20-2015, 06:30 PM   #2
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,887
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 crutledge View Post
i hope this is the place to ask this question.
This actually belongs in the ePub forum.

Quote:
Somewhere I found this CSS defination for BLOCKQUOTE:

Code:
.blockquot{
margin-bottom:1em;
margin-top:1em;
margin-left:3em;
margin-right:0;
font-size:100%;
}
When I try to increase the margin-left: nothing changes.
What is wrong?

Charlie
Multiple things wrong. You have a 0 right margin. You have a font size that's not part of a blockquote. Your left margin is too big and the right margin needs to match. And you have the name of the class wrong.

Code:
blockquote {
margin-top: 1em;
margin-bottom: 1em;
margin-left: 1.5em;
margin-right: 1.5em
}
Now that is correct. The left/right margins are set for using a text indent no larger than 1.2em.
JSWolf is offline   Reply With Quote