Quote:
Originally Posted by jhowell
I don’t know much about Kobo, but I know that an attribute of width="100%" is not correct HTML.
|
Oh oh. I haven't researched it properly yet. But, I just blindly grabbed some stuff out of a book I was editing that uses that:
Code:
.imgfull {
/* Class for getting an image to take up most of screen */
height: 90%;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
max-height: 100%;
max-width: 100%;
}
Could you point me to somewhere talking about why width="100%" is badness? There's a lot of stuff in that css I grabbed that I haven't researched yet.