image sizes

  1. #1
    achorste is offline Valued Member

    image sizes

    hi everyone,

    got the last problem sorted - now a new one comes up.

    I've got images in table cells, i want the images to scale to stretch to the size of the table cell.

    here's what i'm currently doing -
    <td width="27%" height="9%">
    <img src="c:\wsite1\horup.gif" height="100%" width="100%">
    </td>
    according to the HTML 4.0 spec the image should be 100% of the space available - but it just displays the image at full size.

    any help?


  2. #2
    HippyWarlock is offline Elite Member
    Tackle the Web with $5.99 .COM's from Go Daddy!
    Not too hot on html but - my tuppenceworth.

    Your img tag say display the image full size.

    size your table to the image - besides browser use naff algorithms on pics and your image may look awfull.

    Try editing your image in a graphics package first to size it.

+ Reply to Thread