View Single Post
Old 03-07-2015, 12:18 AM   #1
SantafA
Member
SantafA began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Mar 2015
Device: none
iBooks margins and clipping

Hello everyone,

I'm making an epub book and I'm trying to get it to work well across multiple platforms.

I read this on this site (https://wiki.mobileread.com/wiki/EPub):

"The iBooks reader prevents problems with text ending up in the margins (and getting clipped) by setting -webkit-line-box-contain: block glyphs replaced;."

Should I actually insert this in my css? Like this:

html {-webkit-line-box-contain: block glyphs replaced;}

or does iBooks somehow automatically "set" this without the creator needing to put it in their style sheet? I don't have a Mac so I have no way to test this.

And more importantly, does anyone know if including this code could adversely affect how the book will be displayed on other devices/software besides iBooks?

I'm unfamiliar with this particular style and don't really understand what it does exactly. And I'm having trouble finding a clear discussion of it online.

Thank you everyone very much for your help.
SantafA is offline   Reply With Quote