Thread: PRS-T1 Modified Sony home screen
View Single Post
Old 09-15-2012, 03:45 PM   #464
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by Nick_1964 View Post
In a lot of books there is a indent value higher then 0, I hate it when not all the text is lined to the left.
So in any .css of a book I try the: line


p {margin: 0 !important; padding: 0 !important; text-indent=0 !important}

In any simulator everything is neat on the left, in the 650 it is, but in the prs-T1 it isn't, so thats why I change in every book the text-indent=0 value
Lets say one of the lines is text-indent=5
The line text-indent=0 !important should override it, it does in the calibre reader,it does in the sigil editor, but it doesn't have any effect on the prs-T1.
Oh, I see. No, I don't think there is much you could do in reader\css\default.css to overcome styling at the p{...} level. 99%+ of epubs are going have their main body paragraphs as <p class="xyz">...</p> and the styling in the css file will probably be in .xyz{...}. You would need to know what xyz is to override it.

A different option, if you are a calibre user... there is the option during a conversion to filter out selected styles on the Convert - Look&Feel page, on the Filter Style Information tab. You could try ticking the Margins box and adding text-indent in the 'Other CSS Properties' box. However, epub-to-epub conversions can sometimes break more than they fix. Might be worth a try...
jackie_w is offline