I do not want to have a submit button as I want people to be able to enter the form field and then to search all they have to do is press the enter button.
Here is my code:
HTML
<div class="search">
<div class="search1" form action="weezyresults.php" method="post">
<input type="text" name="search" size="30" value=""
style="background-color:white; border:
solid 1px #ffffff; height: 30px; font-size:19px;
font-family: HelveticaNeue-Light; font-weight: 1;
vertical-align:9px;color:#151515"
onfocus="if(this.value == ''){this.value =
'';this.style.color='#363D42'}" />
</div>
<div class="enter"><input type="image" src="but.jpg" alt="Submit"></div>
CSS
.search {
background: #FFFFFF;
border: 1px solid;
color: #BDBDBD;
height: 35px;
width: 270px;
}
.search1 {
margin-top: 3px;
float: left;
}
.enter {
display:none;
}
Thanks!
James
Should be