Quote:
Originally Posted by Stefan_S
Ah, my basic html knowledge has failed me..
So when manually using TAB to create indents in sigil in "Book View" won't actually transfer to the html code?
|
No, it won't. In fact ... if you're going to be doing much in the way of ebook creation/editing, you'd be wise to forget the TAB key on your keyboard even
exists. Whether you're using Sigil, Word, or whatever.
If you have a stylesheet, you need to style the p element to add an indent. The "text-indent" property is what you're after. Your "basic" paragraph (the one you want indents for) would look something like:
Code:
p {
text-indent: 1.2em;
}
in the stylesheet.
Then you'd want to create a css class for the paragraphs you DON'T want indented. Something like:
Code:
p.noindent {
text-indent: 0;
}
Then in your html, you add that class attribute to the p tags where you don't want an indent.
Code:
<p class="noindent">Blah, blah, blah</p>