Установка фона поля ввода
Я должен создать поле ввода со следующим фоном
Пока в моем коде есть код ниже, и он не отображается - & gt; Какова будет правильная процедура для этого?
У меня также есть несколько вариантов этой кнопки, которые я должен произвести, и они следующие:
A cross on the dark area of the button - I was just going to use a <span>
tag with a class and set the graphic to that -> Would this be a good way to go?
A paper clip icon just after the curve on the left -> I was going to do the same as above -> Would this be a good way to go?
HTML:
<div class="innerTo">
<form action="#" method="get">
<label for="recipients">TO: </label>
<input type="search" name="recipients" id="recipients" placeholder="Recipients Names">
</form>
</div>
CSS:
.innerBar .innerTo{
width:200px;
padding:5px 0 0 15px;
display:block;
float:left;
}
.innerBar .innerTo label{
margin:0 15px 0 0;
font-size:14px;
font-weight:bold;
color:#666666;
}
.innerBar .innerTo input[type=search] {
color: red;
}
.innerBar .recipients{
background-image:url('../images/searchBGpng.png') no-repeat;
width:192px;
height:27px;
}