Je met un bout de code css et html
Code : Tout sélectionner
<form name="searchForm" action="<? $php_self ?>" method="post">
<table width="180" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3"></td>
</tr>
<tr>
<td width="20" height="20"></td>
<td width="140" height="20"><input name="txtSearch" type="text" id="searchbar" maxlength="100" /></td>
<td width="20" height="20"></td>
</tr>
<tr>
<td colspan="3"></td>
</tr>
</table>
<input type="hidden" name="submitted" value="TRUE" />
</form>
Code : Tout sélectionner
#searchbar_module{
padding: 0;
margin: 0;
width: 180px;
height: 46px;
background: url(../img/nav_searchbar_img.gif);
background-repeat: no-repeat;
outline: none
}
#searchbar{
width: 110px;
padding: 4px 10px 0px 20px;
height: 15px;
background: transparent url(../img/searchbar_background.gif);
background-repeat: no-repeat;
border: none;
color: #999999;
font-size: 9px;
font-family: Verdana;
}
*+html #searchbar{
width: 140px;
padding:0;
height: 19px;
background: transparent url(../img/searchbar_background.gif) no-repeat;
background-position: fixed;
border: none;
display:table-cell;
color: #999999;
font-size: 9px;
font-family: Verdana;
}
Merci de maider