|
|
#1 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 288
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
|
Large images cut off at bottom of screen
I'm using EPUB, not KEPUB, if that's relevant.
I keep running into the issue that images that are supposed to be full-screen don't display properly on my Kobo - part of them is cut off at the bottom. For example, in the ebook I'm working on at the moment, this is the code around the image Code:
<body class="calibre"><div class="th-c05953c3-9671-47dd-a69a-3ea4b352d3a"><div class="fullpage-image"><div class="image-full"><img src="images/0b626394-2be5-4498-a664-f1d38fae45e4.png" alt="image-placeholder" class="calibre1"/></div></div></div> Code:
.calibre {
display: block;
font-size: 1em;
padding-left: 0;
padding-right: 0;
text-align: justify;
margin: 0 5pt;
}
.th-c05953c3-9671-47dd-a69a-3ea4b352d3a {
display: block;
}
.fullpage-image {
display: block;
font-family: inherit;
font-size: 1em;
font-style: inherit;
font-variant: inherit;
font-weight: inherit;
height: 100%;
margin-block: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
margin-top: 0;
max-height: 100%;
position: relative;
padding: 0;
border: currentColor none 0;
}
.image-full {
display: block;
font-family: inherit;
font-size: 1em;
font-style: inherit;
font-variant: inherit;
font-weight: inherit;
height: auto;
margin-block: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
margin-top: 0;
vertical-align: middle;
width: 100%;
padding: 0;
border: currentColor none 0;
}
.calibre1 {
font-family: inherit;
font-size: 1em;
font-style: inherit;
font-variant: inherit;
font-weight: inherit;
height: auto;
margin-block: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
margin-top: 0;
max-height: 100%;
object-fit: contain;
vertical-align: middle;
width: 100%;
padding: 0;
border: currentColor none 0;
}
Can anyone see what the problem is? |
|
|
|
![]() |
| Tags |
| image, image for kobo, kobo |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Moon+ Reader - images cut off | Kittyk4y | Android Devices | 2 | 08-22-2025 09:54 PM |
| Images cut off, easy solution? | fogice | Editor | 3 | 12-29-2023 07:20 PM |
| Libra Text with side-loaded font cut off at the bottom in vertical layout (synched KePub) | kch | Kobo Reader | 0 | 01-17-2021 08:30 PM |
| Since 1.9.10, text slightly cut off on very bottom line | danskmacabre | Kobo Reader | 33 | 01-13-2012 05:25 AM |
| Touch Bottom line of page cut in half since 1.9.10? | NineOne | Kobo Reader | 7 | 09-20-2011 05:01 PM |