I have the following code:
I was expecting it to reduce the image promo.gif proportionately by 50%. Instead it appears as a single horizontal strip. Can anyone tell me where I am going wrong?
Code:
echo '<A HREF="'.$domain.'register.php" ><IMG SRC="image/promo.gif" style="width:50%; height:50%;" border="1" ALT="Click here to register"></A>';
I was expecting it to reduce the image promo.gif proportionately by 50%. Instead it appears as a single horizontal strip. Can anyone tell me where I am going wrong?