W3C home > Mailing lists > Public > www-forms@w3.org > April 2006

Fwd: Size of pulldown menus and CSS3 UI

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Fri, 07 Apr 2006 12:16:26 +0200
Cc: "Bert Bos" <bert@w3.org>
Message-ID: <op.s7mutou4smjzpq@acer3010.lan>
To: "www-forms@w3.org" <www-forms@w3.org>

------- Forwarded message -------
From: "Bert Bos" <bert@w3.org>
Subject: Size of pulldown menus and CSS3 UI
Date: Tue, 04 Apr 2006 19:34:33 +0200

A question from some people in the CSS WG, probably mostly interesting
for implementers of XForms. If there are people in your group who have
an opinion on it, please, pass the question on.

Is it desirable to be able to set the height of a dropdown menu, such as
for the SELECT element in HTML?

If so, are people using the '::choices' pseudo-element from CSS3 UI[1]
for that? E.g., 'select[appearance=minimal]::choices { height: 5em }'

And if so, how well does it work?

HTML has a SIZE attribute that sets the height of the SELECT element
when the user is not interacting with it. SIZE=1 typically means that
the choices are shown as a dropdown menu, SIZE>1 that the choices are
shown as a scrolling list. But the size of the dropdown menu, if any,
cannot be set with HTML. Should it be set with CSS?

Bert
Received on Friday, 7 April 2006 10:16:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:03 GMT