04-09-2012, 09:02 PM | #1 |
Abibliophobe
Posts: 421
Karma: 4333638
Join Date: Dec 2010
Device: iPad Mini 2 64 gb, Nook Glowlight, iPad 4 (128 gb)
|
Indenting first line of each paragraph?
How do I indent the first line of each paragraph in Sigil when creating an ePub? Hitting "Tab" didn't work, and I couldn't find anything in the Tools or manual that seemed to be what I wanted.
Is there a simple way to do this, like something I can choose from one of the menus? Or do I have to insert some kind of code at the beginning of each paragraph? I'm very new to all this--thanks! |
04-09-2012, 09:17 PM | #2 |
Grand Sorcerer
Posts: 27,464
Karma: 192992430
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
That's usually achieved with CSS. The "text-indent" attribute is what you're looking for.
In the CSS file: Code:
p { text-indent: 1.2em; } Code:
<head> <title>My Html file</title> <link href="../Styles/stylesheet.css" rel="stylesheet" type="text/css" /> </head> |
Advert | |
|
04-10-2012, 02:01 AM | #3 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Just as an additional clarification, the change in the HTML file must be done while in CodeView instead of BookView.
|
04-10-2012, 07:08 AM | #4 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
Thanks for the info on how to create a stylesheet where one does not exist. I hadn't tumbled to it yet, since I mostly modify existing epubs.
|
Tags |
sigil |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Line after paragraph, CSS? | Maggie-Me | Sigil | 8 | 01-23-2011 07:43 AM |
First paragraph line indents | jhempel24 | Sigil | 10 | 11-23-2010 07:26 PM |
Prevent Calibre to paragraph each line | armkbdotcom | Calibre | 3 | 05-29-2010 03:15 PM |
Paragraph indents from command line | JSWolf | Calibre | 4 | 11-06-2008 08:41 PM |
last line in each paragraph centred | scgf | Calibre | 9 | 09-10-2008 02:23 PM |