![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,030
Karma: 38840460
Join Date: Sep 2012
Location: Minneapolis
Device: PWSE, Voyage, K3, HDX, KBasic 7 & 8, Nook Glo3, Echos, Nanos
|
How to block indent a paragraph? Center a seperator?
I love Calibre Editor, but I'm not very good at some of this specialty stuff. Can someone tell me, step by step, how to block indent a paragraph? This is used, for instance, when someone is reading a letter - to indicate that this is the letter text.
I'm not picky, even if just the entire left side is indented is enough. Doing it line by line just screws it up depending on the ereader and size of type. Another thing is how to center stars to indicate a change to a new location. For example, centering the stars that separate text. here is text here. It just goes on and on to make an example of this text. * * * here is text here. It just goes on and on to make an example of this text. |
![]() |
![]() |
![]() |
#2 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Last edited by eschwartz; 08-13-2015 at 03:15 PM. Reason: add direct links to relevant sections |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Age improves with wine.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 571
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
Put <blockquote>...</blockquote> around the letter, and style the blockquote however you wish, e.g. "margin:1em".
As for centered stars, use a style with "text-align:center" for the para. |
![]() |
![]() |
![]() |
#4 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,023
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#5 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,023
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,030
Karma: 38840460
Join Date: Sep 2012
Location: Minneapolis
Device: PWSE, Voyage, K3, HDX, KBasic 7 & 8, Nook Glo3, Echos, Nanos
|
Thanks all! I used <blockquote> </blockquote> and that worked perfectly.
From http://www.w3.org, I found a centering technique. For center allignment, I used: <DIV align="Center"> <P>...text in first paragraph... <P>...text in second paragraph... <P>...text in third paragraph... </DIV> I am trying to learn how to use the style sheets, but it's not really coming together. Spending hours on it and no further ahead. That's why I use Calibre instead of Sigil in the first place. Thanks though, I do appreciate all of your help including you EScwartz! |
![]() |
![]() |
![]() |
#7 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,891
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
You need to remember to link the stylesheets to the pages Same In both: Select (1 or more) section files: Right click: Link stylesheets: Select sheets to use (Note any previous linked sheets on those files will be unlinked. |
|
![]() |
![]() |
![]() |
#8 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,165
Karma: 8800000
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
Code:
<div class="sb">***</div> Code:
.sb { display: block; margin-bottom: 8px; margin-left: 0; margin-right: 0; margin-top: 0; text-align: center; text-indent: 0; } Note you can use any name you wish I just used sb as an example, also you can adjust the top and bottom margins to your preference. bernie |
|
![]() |
![]() |
![]() |
#9 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,023
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Not just for nook as this works in all ePub. If you prefer to use asterisks still use a space between them. Code:
<p class="sb">● ● ●</p> Code:
.sb { text-align: center margin-top: .8em; margin-bottom: .8em; text-indent: 0 } |
|
![]() |
![]() |
![]() |
#10 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,165
Karma: 8800000
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
![]() Quote:
And everybody does not have your preferences on scene breaks. bernie |
|
![]() |
![]() |
![]() |
#11 | |
Age improves with wine.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 571
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
Quote:
IIRC, "align" attributes are deprecated these days, so it's better to use <div class="centered"> and then have a CSS rule: .centered { text-align: center; } ...and then you can also add any other formatting you want for "centered" divs inside the braces {...} |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I set paragraph indent? | pargoo | Sigil | 17 | 11-09-2013 06:38 PM |
Selective paragraph indent | Leonatus | Writer2ePub | 8 | 10-31-2013 04:22 PM |
HTML- Paragraph indent w/ no spaces? Help please? | Joseph Picard | Workshop | 36 | 07-20-2012 12:35 PM |
Preference: Paragraph indent or a little paragraph spacing? | 1611mac | General Discussions | 48 | 11-11-2011 12:43 AM |
Failure to block-indent PML \t sections | fogrider | Calibre | 1 | 12-22-2010 01:32 PM |