Photo distorted in Html Need Help Rendering too 500x375 -
my photo in html not rendering long enough. photo less distorted pretty new html. original photo 500x375. hoping make render in html block exact dimensions.
just set height
, width
attributes on img
tag:
<img src="myfile.jpg" width="500" height="375"/>
that set dimensions 500x375 pixels. image should have these styles automatically though, it's image's styles being modified stylesheet. counteract this, can define inline style override other styles:
<img src="myfile.jpg" style="width:500px;height:375"/>
this override other styles applied image.
Comments
Post a Comment