Tuesday, October 21, 2008

text box and dropdown box width setting

use the below css to create same width text box and dropdown box:

head part past :

select {width:154px; width/**/:157/**/px; border:1px #135785; height:18px;}

input{ width:154px; border:1px #135785; height:18px;}


and in body part within the form tag L
‹input name="" type="text"  ›

‹select name="select" class="search" id="select" ›

there is two width mentioned in css select to solve your browser problem:

No comments: