Insert text above <input type=&ldquo;image&rdquo;>

andybond

New Member
The bellow code is for adding a product to the basket.Instead of just using an image as a buy button in the input I would like to have an image or a fill in the background and HTML text above it.\[code\]<input border="0" src="http://stackoverflow.com/images/buy.png" type="image" />\[/code\]This is the complete code:\[code\] <span class="BuyButton_ProductInfo"> <table id="BUYSECTION"> <tbody> <tr> <td valign="top" align="left">Count<br /> <input id="amount" class="TextInputField_ProductInfo" maxlength="6" size="3" name="AMOUNT" value="http://stackoverflow.com/questions/14074279/1" type="text" /></td> <td>&nbsp;&nbsp;</td> <td class="BuyButton_ProductInfo">Buy<br /> <input border="0" src="http://stackoverflow.com/images/buy.png" type="image" /></td> </tr> </tbody> </table> </span>\[/code\]
 
Back
Top