Number of dropped down options in select form

liunx

Guest
Dear all,

i am looking for a way to set the number of option which drop down from a select form. In IE, standard is 11, and if you have 12, like me, this isnt that user-friendly. I thought this would be a standard problem CSS can handle and solve, but searching the I didnt give me any answers. Doesnt anyone know how to set this number in CSS (or plain HTML) ?

Also, I didnt find some quick-reference referring to the CSS properties of the select tag. As every tags attributes and properties can be modified by CSS/DHTML/Javascript, i thought i would find one. Doesnt any know a good and complete (!) overview of the CSS properties of -ALL- HTML tags ?

Thanks,


<!-- m --><a class="postlink" href="ChouChouhttp://www.w3schools.com/css/css_reference.asp">ChouChouhttp://www.w3schools.com/css/css_reference.asp</a><!-- m -->
<!-- m --><a class="postlink" href="http://www.w3.org/TR/CSS2/">http://www.w3.org/TR/CSS2/</a><!-- m -->

Those are the two places I use. CSS does very little to mess with form elements, as the look and feel of those elements is largely determined by the operating system and user preferences.

So the short answer to you question is no.Actually CSS can do a tremendous amount of styling to form-contained elements if the browser allows it. Of course once again IE is on the short end of the stick in that respect.Ok?thanks for these answers.

I was under the impression that some -select- property would exist in CSS, but the references tell me it doesnt.

I was wondering whether this is a good thing for the user-friendlyness of websites. On the one hand, every browser will have the same look and feel at each websites, as not everything can be messed up. On the other hand, some assets of the look and feel cannot be tweaked for optimal performance. Furthermore, it would be a good thing if every website would look the same in each browser. This would increase its use.

I think it would be a good if in CSS every aspect of the presentation of websites could be controlled to maximize their use.

ChouChouI was under the impression that some -select- property would exist in CSS, but the references tell me it doesnt.
There's no need for select to be specifically addressed in CSS because select, option and optgroup are tags that can be styled as any other tag can.

Here's a page I built to explore just such ideas.

<!-- m --><a class="postlink" href="http://blab-n-lab.home.comcast.net/lab/styletest.htmlI">http://blab-n-lab.home.comcast.net/lab/styletest.htmlI</a><!-- m --> think chouchou wanted a CSS property to change the number of items that are visible once you click on a drop-down list. You can't alter that number because of screen resolution problems. You could specify a greater number of visible items in the drop-down list than what can fit on a screen, be it at 800x600 or 640x480, or whatever.

It's more to ensure usability and that ignorant web designers (not talking about you :) ) do not make drop-down lists that take up more screen height than a user has.OIC
 
Back
Top