I have this HTML Code :
<style type="text/css">
.select {
white-space:pre-wrap;
background-color:#FF9;
width: 500px;
}
</style>
<input type="text" list="browsers" class="select"/>
<datalist id=browsers >
<?php while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)) {;?>
<option>
<?php echo $row_Recordset1['RBC']; }?>
</option>
</datalist>
I have some datas more than 500px , therfore when I click on the text box the list width greater than text box width(500px)
How can i fix the list width?