04-24-2019, 12:05 PM | #1 |
Enthusiast
Posts: 43
Karma: 10
Join Date: Mar 2016
Device: Ipad mini 2
|
Sigil remove indent
HI there I produced a ebook in quarkxpress, made changes in calibre and lastly sigil. I simply want remove a first line indent. see the following code:
NEED TO REMOVE INDENT ON THIS CODE before 'David awoke' <img alt="chapt4rings" src="../Images/chapt4rings.png"/><br/></div> <div id="box3_50810" class="para-normal-local2"><br/></div> <div id="box3_50812" class="para-normal-local2"><span class="char-normal-local1">David awoke THIS ONE IS FINE and has no indent at 'Well, you're' (Only difference is 2nd line which i have already copy and pasted to above code replacing 2nd line.) <img alt="chapt4rings" src="../Images/chapt4rings.png"/><br/></div> <div id="box3_31013" class="para-normal-local2"><span class="char-normal-local1"><br class="calibre6"/></span></div> <div id="box3_31014" class="para-normal-local1"><span class="char-normal-local1">“Well, you’re Can’t seem to override this and take off indent. is there a simple solution as I may need to remove other indents on the book. There is no place where i can adjust code to indent=0 as such. Help. David |
04-24-2019, 12:10 PM | #2 |
Guru
Posts: 687
Karma: 2180740
Join Date: Jan 2017
Location: Poland
Device: Kindle (Key3, PW2, PW3), Nook (ST, GLP), Kobo Touch, Tolino Vision 2
|
This is Sigil forum – your question is epub related.
Try this (change "2" to "1"): Code:
<img alt="chapt4rings" src="../Images/chapt4rings.png"/><br/></div>
<div id="box3_50810" class="para-normal-local2"><br/></div>
<div id="box3_50812" class="para-normal-local1"><span class="char-normal-local1">David awoke
|
04-24-2019, 12:16 PM | #3 |
Enthusiast
Posts: 43
Karma: 10
Join Date: Mar 2016
Device: Ipad mini 2
|
Thanks for that. I adjusted it in Sigil.
|
05-04-2019, 06:29 AM | #4 |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
It would be ever so much easier if you used styles. My normal paragraph tag is <p> and follows this style:
p { margin-top:0.0em; margin-bottom:0.0em; text-indent:1.5em; text-align:justify; } I don't want an indent in the first paragraph of a chapter or major section of a chapter, so I use the paragraph tag <p class="first"> which not only eliminates the indent but adds a bit of space between the first line and whatever comes above it: p.first { margin-top:0.5em; margin-bottom: 0.0em; text-indent:0.0em; text-align:justify; } You can copy or adapt my full style sheet from https://notjohnkdp.blogspot.com/2013...yle-sheet.html Add it to Sigil's "Styles" folder with the name epub.css (or whatever you like that ends in css) and put a pointer to it in the header. |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CSS to indent paragraphs and remove spaces | Alda | Sigil | 7 | 06-20-2014 05:36 AM |
Remove spacing and indent, but not always | griffitts | Conversion | 1 | 03-10-2012 08:07 PM |
Remove Indent? | Baja | Calibre | 7 | 02-29-2012 04:47 AM |
WTB: Ability to change indent without ticking 'remove spaces between lines' | gweminence | Calibre | 9 | 08-27-2011 09:05 AM |
remove indent from 1st line of chapter only | cybmole | Sigil | 15 | 02-21-2011 10:50 AM |