Can you help me with 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 data longer than 500px, so when I click on the text box the list width exceeds the textbox width of 500px.
Any ideas on how to adjust the list width accordingly?