Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Sony Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 11-07-2010, 02:19 PM   #1
PatNY
Zennist
PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.
 
PatNY's Avatar
 
Posts: 1,022
Karma: 47809468
Join Date: Jul 2010
Device: iPod Touch, Sony PRS-350, Nook HD+ & HD
Why won't PRS-350 honor all ePub stylesheets?

I'm stumped. My PRS-350 is reading some epub stylesheets correctly, but in other epubs, it seems to be ignoring things like centering and text-indent instructions. So where I have instructions to indent paragraphs by 1.5em, in some epubs on the reader they show up as paragraphs with no indentation. And design elements that are supposed to be centered end up flush left.

I can't see any significant difference between the stylesheets it is honoring and those it is not. Moreover, in all cases, Calibre's internal epub viewer correctly renders all these epubs.

Has anyone seen this behavior? Anyone have a clue what is going on? Maybe there is some obscure css coding that is tripping up the PRS-350 but I can't figure out what it is.

Last edited by PatNY; 11-07-2010 at 02:28 PM.
PatNY is offline   Reply With Quote
Old 11-07-2010, 02:45 PM   #2
jswinden
Nameless Being
 
Never encountered a problem with CSS unless the syntax was incorrect. It is pretty easy to leave off a double-quotation mark, semi-colon, curly bracket, etc. If you do you might get some weird effects. Also, it is pretty easy to get the syntax in the HTML incorrect. I once searched a long time trying to discover why a particular CSS style would not work correctly and finally noticed that I had typed the class name incorrectly into the HTML tag. That is, it was spelled slightly different from what I used in the CSS. You must also be careful with case sensitivity.
  Reply With Quote
Advert
Old 11-07-2010, 05:42 PM   #3
PatNY
Zennist
PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.
 
PatNY's Avatar
 
Posts: 1,022
Karma: 47809468
Join Date: Jul 2010
Device: iPod Touch, Sony PRS-350, Nook HD+ & HD
Jack, thanks. You pointed me in the right direction. I looked at the epub's stylesheet and still couldn't notice anything out of sorts, but I remembered that Calibre can sometimes "fix" and correct things in a stylesheet and epub. So I ran an epub-to-epub conversion in Calibre and, sure enough, the the reader now picked up the CSS, and paragraph indents and centering appeared as specified.

What threw me off was that Calibre's viewer and Stanza on the Touch were both displaying the epub correctly. So I guess the Sony readers are just a little bit more finicky when it comes to stylesheets.

The problematic epubs were all ones I had tweaked via Calibre's tweak epub feature. I just have to remember now to always do an epub-to-epub conversion at the end.
PatNY is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PRS-350 et PRS-650 : tactile sans reflet ? Grimaud Sony Reader 72 09-16-2011 06:13 AM
Do Kobo books need tweaking before loading to a PRS-350 or PRS-650? stodge Sony Reader 9 11-07-2010 02:30 PM
PDF to Epub Sony PRS-350 Jason Green Calibre 1 11-03-2010 04:25 PM
PRS-650 PRS-350 Please report eventual fading under direct sunlight of new models sigmax Sony Reader 11 09-26-2010 12:50 AM
User stylesheets for ePub files salty-horse Sony Reader Dev Corner 12 02-23-2010 07:44 AM


All times are GMT -4. The time now is 08:52 AM.


MobileRead.com is a privately owned, operated and funded community.