• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

textCtrl Class and select fields

R

ragtek

Guest
#1
Why does the selectfield get a "empty" line at the end, if i add the class "textCtrl" to it?

if the selectfields have the textCtrl class it looks like

withclass.PNG

and without it's
withoutclass.PNG


What do i need to change in the textCtrl class to get the same output as on the second picture?
 

Naatan

Well-known member
#2
I'm guessing this is the line-height at play, but it's a bit hard to say without being able to "inspect" the elements myself.

If you really want to have a multi-select list without a scrollbar the only way you could achieve this is via JavaScript, as rendering can differ between browsers and themes.