b3ta.com qotw
You are not logged in. Login or Signup
Home » Question of the Week » Off Topic » Post 232646 | Search
This is a question 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)
Pages: Latest, 836, 835, 834, 833, 832, ... 1

« 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)

« Go Back | See The Full Thread

Pages: Latest, 836, 835, 834, 833, 832, ... 1