Sebastian Becker: DropDownBox<select> Sichtbarer Bereich beim Aufklappen zu klein

Beitrag lesen

Hallo, Hans,

ich weiß nicht, ob eine Definition der Anzahl der angezeigten Einträge einer Option-Liste unter Beibehaltung des Dropdown-Effekts möglich ist.

Eine Alternative wäre vielleicht das Definieren von "size", wodurch die angegebene Anzahl von Einträgen _permanent_ angezeigt wird ...

"The SIZE attribute of SELECT hints that visual browsers should display the element as a list box with the specified number of options visible at any time. A scroll bar would allow access to any non-visible options. The SIZE attribute is especially useful in SELECT elements with numerous OPTIONs and multiple selections allowed. In such a situation, some visual browsers will render the entire list in one large box without scrolling; a suitable SIZE attribute helps such browsers give a more appropriate presentation."

Grüße,

Sebastian