html - Modifying the size of an image in an <iframe> -
i have image resolution:
<iframe src="....?resolution=640x480" width="800" height="452" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
i alter width of image, , image doesn't change. if specify width of less 640 in width="800"
, image's size reduces, more 640 image remains unchanged. why?
you have <iframe>
, not image, , contents won’t scale beyond actual resolution of image (as can see in url, that’s 640 pixels wide).
if want actual image, utilize <img>
.
html
No comments:
Post a Comment