Computer Science, asked by harshalbakde9, 7 months ago

Which attribute of the drop down list is used to add a scroll feature to it?​

Answers

Answered by misba9922
6

My list currently looks like this:

<select name="Select1" size="1">

<option value="">- Please select a name -</option>

<option value"volvo">Volvo</option>

<option value="saab">Saab</option>

<option value="ford">Ford</option>

<option value="toyota">Toyota</option>

<option value="aston">Aston Martin</option>

<option value="alfa">Alfa Romeo</option>

</select>

I have tried using the following CSS within a Div, but that made no difference.

.myDropDown{

height: 60px;

max-height: 60px;

overflow-y: scroll;

}

I hope it's helpful for u.....

mark as brilliant and follow me

Similar questions
Math, 10 months ago