-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to make body use “padding”or“margin” ? #136
Comments
First of all, what happens when you open your HTML file in standard web browser, and expand the browser window to full screen? Is your content fully stretched too? |
Secondly, the Readium layout/rendering process removes HTML body margin so that the pagination engine can deliver consistent results with respect to blank spacing on the outer edges. Maybe this is what you are getting to? Have you tried using min-max width CSS to set appropriate dimensions for your content? Again, first it would be preferable to test in regular web browsers, then see how things look in Readium. You could use the Readium cloud reader to save you time, compared with launching the Andoid app. |
more info about body margin removal here: |
@danielweck First of all,when Iopen theHTML file in standard web browser,it‘s ok, content not fully stretched;But in readium the content fully stretched |
set up a full screen, and my book HTML tag set background, for example, <html... class= "background-img-repeat" >... /body>. body set marin:50px.
The content of the body is covered with the screen, and why? android&&readium 1
The text was updated successfully, but these errors were encountered: