Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: rabidralph
< img src="nameofimage.jpg" height="400" width="550">

You only need one of height or width. The browser will calculate the other dimension automatically.

Of course, you can take it upon yourself to calc the other dimension. But, if you get it wrong, the image will be distorted.

110 posted on 04/26/2015 2:53:35 AM PDT by cynwoody
[ Post Reply | Private Reply | To 12 | View Replies ]


To: cynwoody

The preview of the image before posting lets me know whether the picture is distorted or not. So I make the incremental adjustments of the size after seeing what side of it is off. I learned HTML 3.2 nearly 20 years ago and I’ve not kept up with the other versions. So I always add height and width dimensions and I use quote marks for everything. Thanks!


116 posted on 04/26/2015 7:53:33 AM PDT by rabidralph
[ Post Reply | Private Reply | To 110 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson