I have following CSS and I want all my three select box in one line.Though I have implemented display as inline but its not working in div..
.block_feedback .field select { color: #FFF; width:375px; height:20px; line-height:17px; margin-left:13px; margin-top:4px; display:none; background-color:#00A2B1; border:0px; font-family:Arial, Helvetica, sans-serif; font-size:16px; }
<div class="field" >
<select name="dobmonth" id="dobmonth" class="w_def_text" style="width:150px;">
<?php getmonth(); ?>
</select>
<select name="dobdate" id="dobdate" class="w_def_text" style="width:80px;">
<?php getbirthdate(); ?>
</select>
<select name="dobyear" id="dobyear" class="w_def_text" style="width:80px;">
<?php getyear(); ?>
</select>
</div>
Add
float:leftto theselectin your css, like so: http://jsfiddle.net/YXNAH/5/