user1247412
user1247412

Reputation: 647

Dropdown in html

I have a dropdown for US states in html. But when I go through the list, it goes expanding over the page. Is there any way i can limit this? I don't want to display it using size=" " property.

Upvotes: 2

Views: 938

Answers (1)

user1634845
user1634845

Reputation:

You might try styling it with CSS.

Here's an example:

.fakelist { height: 30px; }

Upvotes: 1

Related Questions