Quantcast
Channel: is it possible to decide height and width of a image? - Stack Overflow
Viewing all articles
Browse latest Browse all 6

Answer by David for is it possible to decide height and width of a image?

$
0
0

There are width and height attributes, though it would behoove you to do a little reading up on cascading stylesheets (css).

<img src="..." width="100" height="200" alt="Company Logo"/>

You should be able to specify just the width or just the height to automatically scale the other dimension.


Viewing all articles
Browse latest Browse all 6

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>