View Single Post
Old 01-09-2019, 03:11 AM   #4
nqk
Fanatic
nqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beauty
 
Posts: 564
Karma: 32228
Join Date: Feb 2012
Device: Onyx Boox Leaf
In my case, it works
Code:
img.cover {
  width: 100%;
  height: 100%;
  display: block;
}
I must say that if you want it to cover the default margin areas, you may have to try the margin hack with html tag. I've never tried it, but somebody used negative margin values.

Last edited by nqk; 01-09-2019 at 03:13 AM.
nqk is offline   Reply With Quote