Hi, I'm sure you've had this question a million times, but could anyone help me to get the images in an epub to fit full page?
I've tried lots of different things like using width: 100% and max-width: 100%, but the images still have a large white margin around them when I convert the epub in Kindle Previewer.
Here is the code I am using:
body, div, dl, dt, dd, h1, h2, h3, h4, h5, h6, p, pre, code, blockquote {
margin:0;
padding:0;
border-width:0;
}
td, th {
border-style:solid;
border-width:1px;
}
table {
border-collapse:collapse;
}
body {
-epub-hyphens:auto;
-webkit-hyphens:auto;
}
@page {
margin: 0px 0px 0px 0px;
}
img._idGenPageitem-1 {
margin: 0px 0px 0px 0px;
}
div._idGenPageitem-2 {
text-align: center;
max-width: 100px;
margin: 0px 0px 0px 0px;
}
Attachment 153119
Thanks
Simon