search image is not getting displayed properly

WacaWaca PW

New Member
When I use type=image of input name =searchsel_list than i get image displayed properly ,but i don't get the result which i want to be displayed onclick of that search ,so I changed its type=submit so i got the result but now image is not getting displayed \[code\]<div id="tabr"><form id="quick-search" action="csearch.php?epage=csearch" method="post" ><p><label for="qsearch">Search:</label><input class="tbox" id="qsearch" type="text" name="tsearch" placeholder="Search Selected Candidate" title="Type name and hit ENTER" /><input type="submit" class="btn" alt="Search" name="searchsel_list" title="Search" /></p></form></div>\[/code\]The CSS\[code\] #tabr form#quick-search { padding: 0; margin: 30px 0 0 30px; width: 270px; height: 33px; background: #fff url(../images/header-search.gif) no-repeat; border: none; }#tabr form#quick-search p { margin: 0; padding: 0; border: none;}#tabr form#quick-search input { border: none; background: transparent; color: #BABABA; margin: 0; padding: 5px; font-size: .9em; float: left; }#tabr form#quick-search .tbox { margin: 6px 0 0 5px; width: 220px; display: inline; }#tabr form#quick-search .btn{ width: 24px; height: 24px; margin: 5px 0 0 0; padding: 0; }#tabr form#quick-search label { display: none;}\[/code\]I tried this but even this is not working\[code\]<button type="submit" class="btn" alt="Search" name="searchsel_list" title="Search"><img src="http://stackoverflow.com/questions/14475482/images/header-search.gif" /></button>\[/code\]how can I get image displayed again,THANKS
 
Back
Top