|
|
#1 |
|
Abibliophobe
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 425
Karma: 4379916
Join Date: Dec 2010
Device: iPad Mini 2 64 gb, Nook Glowlight, iPad 4 (128 gb)
|
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! |
|
|
|
|
|
#2 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,915
Karma: 207182180
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 | |
|
|
|
|
#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.
|
|
|
|
|
|
#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 |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Line after paragraph, CSS? | Maggie-Me | Sigil | 8 | 01-23-2011 08:43 AM |
| First paragraph line indents | jhempel24 | Sigil | 10 | 11-23-2010 08:26 PM |
| Prevent Calibre to paragraph each line | armkbdotcom | Calibre | 3 | 05-29-2010 04:15 PM |
| Paragraph indents from command line | JSWolf | Calibre | 4 | 11-06-2008 09:41 PM |
| last line in each paragraph centred | scgf | Calibre | 9 | 09-10-2008 03:23 PM |