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 01-02-2010, 06:53 PM   #16
Kolenka
<Insert Wit Here>
Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.
 
Kolenka's Avatar
 
Posts: 1,017
Karma: 1275899
Join Date: Jan 2008
Location: Puget Sound
Device: Kindle Oasis, Kobo Forma
This is similar to the 600, and even the 505 does this on ePubs with no margins set. It seems the ADE software assumes that the ePub will have the margin, and a lot of ePubs don't actually set margins most of the time.
Kolenka is offline   Reply With Quote
Old 01-02-2010, 08:00 PM   #17
phazlehurst
Member
phazlehurst is on a distinguished road
 
Posts: 12
Karma: 60
Join Date: Dec 2009
Device: PRS900, and PRS700 and PRS505
So I just spent an hour chatting with two different folks in customer care and they are clueless to the problem. My guess is that this will not get fixed until a lot of people complain that the ePubs lack margin definition and/or they add a "create a margin" mode on the reader itself...

I just "pulled apart" one of the epubs, and I cannot honestly say I understand the format, since while there is CSS that indicates what to do it pretty clearly shows that there are no margins around paragraphs, there's also nothing that I can see in there that defines what to do at the top of the page of the reader...

So if someone could point me to that part of the CSS that'd be supremely helpful... i.e., how exactly do you specify a top or bottom margin for the page? If it's just the paragraph settings, then these are very clearly set to zero, as you can see below:

p.para-indent { display: block;
font-size: 10pt;
font-style: normal;
font-weight: normal;


margin-top: 0em;
margin-bottom: 0em;
margin-left: 0em;
margin-right: 0em;
text-indent: 1.5em;
}

p.para-flush { display: block;
font-size: 10pt;
font-style: normal;
font-weight: normal;


margin-top: 0em;
margin-bottom: 0em;
margin-left: 0em;
margin-right: 0em;
text-indent: 0em;
}


tx

P
phazlehurst is offline   Reply With Quote
Advert
Old 01-02-2010, 08:09 PM   #18
phazlehurst
Member
phazlehurst is on a distinguished road
 
Posts: 12
Karma: 60
Join Date: Dec 2009
Device: PRS900, and PRS700 and PRS505
Perhaps answered my own question i saw this in one of HarryT's ePubs...:

<style type="text/css">@page { margin-bottom: 5.000000pt; margin-top: 5.000000pt; }</style>


is that the trick?

P
phazlehurst is offline   Reply With Quote
Old 01-02-2010, 08:11 PM   #19
netseeker
sleepless reader
netseeker ought to be getting tired of karma fortunes by now.netseeker ought to be getting tired of karma fortunes by now.netseeker ought to be getting tired of karma fortunes by now.netseeker ought to be getting tired of karma fortunes by now.netseeker ought to be getting tired of karma fortunes by now.netseeker ought to be getting tired of karma fortunes by now.netseeker ought to be getting tired of karma fortunes by now.netseeker ought to be getting tired of karma fortunes by now.netseeker ought to be getting tired of karma fortunes by now.netseeker ought to be getting tired of karma fortunes by now.netseeker ought to be getting tired of karma fortunes by now.
 
netseeker's Avatar
 
Posts: 4,763
Karma: 615547
Join Date: Jan 2008
Location: Germany, near Stuttgart
Device: Sony PRS-505, PB 360° & 302, nook wi-fi, Kindle 3
Quote:
Originally Posted by phazlehurst View Post
Perhaps answered my own question i saw this in one of HarryT's ePubs...:

<style type="text/css">@page { margin-bottom: 5.000000pt; margin-top: 5.000000pt; }</style>


is that the trick?
Yes, exactly.
netseeker is offline   Reply With Quote
Old 01-02-2010, 08:26 PM   #20
phazlehurst
Member
phazlehurst is on a distinguished road
 
Posts: 12
Karma: 60
Join Date: Dec 2009
Device: PRS900, and PRS700 and PRS505
Quote:
Originally Posted by netseeker View Post
Yes, exactly.
Well... then that stinks... since it implies I have to go through every HTML file and fix them ... bad bad bad... not going to do it across the 80 books I bought from the store.

Arrgh... there must be another way... can it be done in the CSS itself rather than in the HTMLs? Or is this an ePub limitation?

P
phazlehurst is offline   Reply With Quote
Advert
Old 01-02-2010, 08:29 PM   #21
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
Quote:
Originally Posted by phazlehurst View Post
Well... then that stinks... since it implies I have to go through every HTML file and fix them ... bad bad bad... not going to do it across the 80 books I bought from the store.

Arrgh... there must be another way... can it be done in the CSS itself rather than in the HTMLs? Or is this an ePub limitation?

P
Yes, you can put it in the css file. That was how I solved the problem for some of my books.
tompe is offline   Reply With Quote
Old 01-02-2010, 08:34 PM   #22
pvdv
Enthusiast
pvdv ought to be getting tired of karma fortunes by now.pvdv ought to be getting tired of karma fortunes by now.pvdv ought to be getting tired of karma fortunes by now.pvdv ought to be getting tired of karma fortunes by now.pvdv ought to be getting tired of karma fortunes by now.pvdv ought to be getting tired of karma fortunes by now.pvdv ought to be getting tired of karma fortunes by now.pvdv ought to be getting tired of karma fortunes by now.pvdv ought to be getting tired of karma fortunes by now.pvdv ought to be getting tired of karma fortunes by now.pvdv ought to be getting tired of karma fortunes by now.
 
pvdv's Avatar
 
Posts: 31
Karma: 300143
Join Date: Jan 2008
Device: Kobo Aura One, Kobo Aura HD, BeBook Neo
I'm struggling with the same issue since I installed the 2.0 firmware for the CyBook.

When you put the line:
Code:
@page { margin-bottom: 5.000000pt; margin-top: 5.000000pt; }
in the style.css file right beneath the <p> description it works. Then you don't have to edit all the different (x)html files in the epub.

Last edited by pvdv; 01-02-2010 at 08:36 PM. Reason: Tompe was quicker... maybe i should go to bed, it IS the middle of the night...
pvdv is offline   Reply With Quote
Old 01-02-2010, 08:37 PM   #23
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
Quote:
Originally Posted by pvdv View Post
I'm struggling with the same issue since I installed the 2.0 firmware for the CyBook.

When you put the line:
Code:
@page { margin-bottom: 5.000000pt; margin-top: 5.000000pt; }
in the style.css file right beneath the <p> description it works. Then you don't have to edit all the different (x)html files in the epub.
It works putting it first also. The page specification have nothing to to with <p>.
tompe is offline   Reply With Quote
Old 01-02-2010, 08:38 PM   #24
pvdv
Enthusiast
pvdv ought to be getting tired of karma fortunes by now.pvdv ought to be getting tired of karma fortunes by now.pvdv ought to be getting tired of karma fortunes by now.pvdv ought to be getting tired of karma fortunes by now.pvdv ought to be getting tired of karma fortunes by now.pvdv ought to be getting tired of karma fortunes by now.pvdv ought to be getting tired of karma fortunes by now.pvdv ought to be getting tired of karma fortunes by now.pvdv ought to be getting tired of karma fortunes by now.pvdv ought to be getting tired of karma fortunes by now.pvdv ought to be getting tired of karma fortunes by now.
 
pvdv's Avatar
 
Posts: 31
Karma: 300143
Join Date: Jan 2008
Device: Kobo Aura One, Kobo Aura HD, BeBook Neo
Ah!
I´m new to this stuff, so thanks for the tip.
pvdv is offline   Reply With Quote
Old 01-02-2010, 08:40 PM   #25
phazlehurst
Member
phazlehurst is on a distinguished road
 
Posts: 12
Karma: 60
Join Date: Dec 2009
Device: PRS900, and PRS700 and PRS505
Ok, thanks all... that definitely works... so now I've got more data for our friends at Sony on how to fix this... even better, if they do it, then with "no margin mode" they can ignore it, and we're all happy!

P
phazlehurst is offline   Reply With Quote
Old 01-03-2010, 12:00 PM   #26
Gunnerp245
Gadget Freak
Gunnerp245 ought to be getting tired of karma fortunes by now.Gunnerp245 ought to be getting tired of karma fortunes by now.Gunnerp245 ought to be getting tired of karma fortunes by now.Gunnerp245 ought to be getting tired of karma fortunes by now.Gunnerp245 ought to be getting tired of karma fortunes by now.Gunnerp245 ought to be getting tired of karma fortunes by now.Gunnerp245 ought to be getting tired of karma fortunes by now.Gunnerp245 ought to be getting tired of karma fortunes by now.Gunnerp245 ought to be getting tired of karma fortunes by now.Gunnerp245 ought to be getting tired of karma fortunes by now.Gunnerp245 ought to be getting tired of karma fortunes by now.
 
Gunnerp245's Avatar
 
Posts: 1,169
Karma: 1043832
Join Date: Nov 2007
Location: US
Device: EE, Note 8
ePub 2 ePub

@kovidgoyal

Could you convert using calibre?

Gunner...
Gunnerp245 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
K3 battery life stinks... what? stewie1 Amazon Kindle 89 09-05-2010 11:25 AM
Delay of ebook releases...stinks cigarjockey Sony Reader 2 11-28-2009 09:29 PM
This book stinks! (re: the old deadtree kind) ardeegee Lounge 0 11-12-2009 05:39 PM
You read a book and it stinks. What do you do? TadW Reading Recommendations 69 08-24-2009 09:15 AM


All times are GMT -4. The time now is 01:48 PM.


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