Off Topic
Are you a QOTWer? Do you want to start a thread that isn't a direct answer to the current QOTW? Then this place, gentle poster, is your friend.
( , Sun 1 Apr 2001, 1:00)
Are you a QOTWer? Do you want to start a thread that isn't a direct answer to the current QOTW? Then this place, gentle poster, is your friend.
( , Sun 1 Apr 2001, 1:00)
« Go Back | See The Full Thread
<hug>*****************</hug>
To resize an image in HTML, use the width or height attributes of the HTML img tag, but with a percent sign after the number.
<img src="blah.png" width="75%"> will make the image 75% the width of the browser window and adjust the height accordingly.
<img src="blah.png" height="50%"> will make the image 50% the height of the browser window and adjust the width accordingly.
<img src="blah.png" width="20%" height="90%"> will make the image 20% the width of the browser window and 90% the height of the browser window (the image will have its dimensions distorted).
Without the % signs, the numbers will be the size in pixels you want the image to occupy.
Hope this helps.
( , Mon 1 Sep 2008, 15:22, Reply)
To resize an image in HTML, use the width or height attributes of the HTML img tag, but with a percent sign after the number.
<img src="blah.png" width="75%"> will make the image 75% the width of the browser window and adjust the height accordingly.
<img src="blah.png" height="50%"> will make the image 50% the height of the browser window and adjust the width accordingly.
<img src="blah.png" width="20%" height="90%"> will make the image 20% the width of the browser window and 90% the height of the browser window (the image will have its dimensions distorted).
Without the % signs, the numbers will be the size in pixels you want the image to occupy.
Hope this helps.
( , Mon 1 Sep 2008, 15:22, Reply)
« Go Back | See The Full Thread