View Single Post
Old 03-07-2011, 03:40 PM   #3
fan of kovid
Member
fan of kovid has a complete set of Star Wars action figures.fan of kovid has a complete set of Star Wars action figures.fan of kovid has a complete set of Star Wars action figures.fan of kovid has a complete set of Star Wars action figures.
 
Posts: 14
Karma: 304
Join Date: Nov 2010
Device: Sony PRS 900
Text Alignment Problem

@ theducks

Thanks buddy - but I already knew that...

I already have the TOC based on nested H# tags - I do that by setting the chapter headers using MS Word "styles" - easy with search & replace.

If I open the epub with Sigil to edit the style sheet, then Sigil imposes its own TOC - overwriting the one already created with Calibre - I like the one created with calibre.

It's also easy to edit the style sheet with Wordpad... Right click on the epub file, open with WinZip, then right click the css file and open with Wordpad - edit as appropriate, save and update the archive with the saved file - too easy.

My problem is that I don't want Calibre to first-line indent centered and left-aligned text in the first place.

Any tips on how to achieve this would be much appreciated.

Maybe "Extra CSS" could be used to do this? Does anyone know how to code this? All I want is to end up with certain styles with text indent set to zero.

Many thanks - fan
fan of kovid is offline   Reply With Quote