Hi
Does anyone know how to set either the max number of visible options or the height of a Html5 datalist?
Hi eandn,
Thanks for your post.
As for your description, my understanding is that you want to set a height to <datalist> tag, but it seems that we can’t style the height of the <datalist> tag.
You could refer to the following similar issues.
- http://stackoverflow.com/questions/10062414/is-it-possible-to-style-the-drop-down-suggestions-when-using-html5-datalist
- http://stackoverflow.com/questions/23042745/scroll-bar-for-datalist-in-html5
Hope it will be helpful to you.
Best Regards,
Fei Han
It looks like I have to use some JQuery. Thanks for your help.