In my HTML file I only have an image tag. I set the source attribute by code and want to set this image on full width and full height.
The image itself has this CSS attached
img {
width: 100%;
height: 100%;
}
and the page itself uses
html, body {
height: 100%;
}
body {
margin: 0;
}
Somehow a vertical scrollbar appears. The scrolling range might be around 5px so it's really small.
How can I remove this? I want the img
being fullscreen with no scrollbar.