Thread: PRS-T1 Modified Sony home screen
View Single Post
Old 09-15-2012, 04:45 PM   #464
jackie_w
Wizard
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: 2,903
Karma: 4329385
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350, PB360, Kobo Glo/AuraHD/Aura6"/AuraH2O
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   Reply With Quote