What I should I do for the better image resolution when testing my website in various devices without the need for scrolling? Also in my Galaxy S4 device, when I load the website, the images are much tinier than that of in an iMac or macbook and when I flip the Galaxy S4 , I need to scroll down to be able to see the whole image. Is there any fix to this? Here's the code:
<meta content="width=device-width, initial-scale=1" name="viewport" />
<p align="center"><img src="https://uwmadison.qualtrics.com/CP/Graphic.php?IM=IM_cC6sFD6iBTxdHql" style="height: 470px;" /></p>
<style type="text/css">/* iphone */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
img { max-width: 100%; }
}
/* ipad */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
img { max-width: 100%; }
}
/* samsung */
@media only screen and (min-device-width : 320px) and (max-device-width : 321px) {
img { max-width: 100%; }
}
</style>