View Single Post
Old 06-07-2018, 03:24 PM   #6
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by Wlan View Post
Guys,

I am editing my Epub on Calibre and I have set on my CSS:

* {
margin: 0;
padding: 0;
border-width: 0;
}

When I open my Epub on Calibre it shows everything without border or margin as it should be.

When I open my Epub on Google Books reader it adds a border or margin by default, wich is OK for all content but the cover.

You can upload a Epub to Google Books here: https://play.google.com/books

I am using on Android: https://play.google.com/store/apps/d...oid.apps.books

You can upload a Epub and you will see a white border around the cover

I am just wondering if is even possible by code to remove this default border of the cover on Google Books app.

Thank You!
A "border" is not a margin. A border is, typically, a line or some other decorative element that is added AROUND the "page" or element in question. Like, around a div or a text-box. Honestly, in an ePUB, I'm kinda scratching my head about how you'd add a border to whatever you've done there; you seem to have added it to everything as a default.

My first thing would be to remove the border css entirely. Yes, I know, you have it set to 0, but there's no reason for that to be there at all. Remove it entirely, the whole line, and see if that helps. ALSO, remove it anyplace else in your CSS/HTML.

I think you'll find that nobody here is going to upload an ePUB to Google Books, just to test your stuff. You'll get better help if you ask questions with screenshots, your code, etc., so that we can take a look and help you, okay?

Good luck--let us know if it works.

Hitch
Hitch is offline   Reply With Quote