I am currently working on customizing a form that includes a Number field, image button, and an image. My goal is to change the background of the number field to be a similar image. Below is the HTML code I have been using:
<form name="form1" id="form1" action="sendSMSTelstra.php" method = "post">
<input type="number" class="input" min ="0" max = "1440" onChange="checkFilled(1);" name="timeField1" id="timeField1" value="">
<input type="image" name="imageField1" id="imageField1" onmouseup= "SendCMD(1)" onmousedown="changeImage(1)" src="img/ButtonBlueb.png" width="42" height="42" value="">
<img src="img/on.png" alt="" width="40" height="40" id="IO1" name="IO1"/>
I have tried experimenting with CSS to achieve this, but so far nothing has worked. Here is one attempt I made:
.input
{
border: 0px solid #444444;
height:39px;
width:50px;
background:url(img/white.png) no-repeat right top;
padding-left:4px;
}
I would appreciate any advice or suggestions on how to accomplish this!