View Single Post
Old 09-02-2022, 06:07 PM   #8
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 784
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Sage
Quote:
Originally Posted by jhowell View Post
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.
enuddleyarbl is offline   Reply With Quote