Jump to content

change the image size

Recommended Posts

Into the tags surrounding your image style="width: 80px; height:50px" if you want internal CSSOR If you're planning on doing it by external CSS, in your stylesheet put.imagename { width:80px; height:50px; }and in your actual page, something like<img src="myimage.jpg" class="imagename" />

Link to post
Share on other sites

Oh no no IF you were to put it in you'd put it like this.<td style="width: 80px; height:50px; background-image: url('images//$aa.gif');>However that won't resize your image as such that's just telling it to resize the cell of that table with a background image you selected...But also why not just save the image under the dimensions you' mentioned? It would save you extra code if you just saved it as 80x50

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...