http://stackoverflow.com/questions/119961/select-tags-size-attribute-through-css

2011/9/8 Kenneth Lundström <kenneth.t.lundst...@gmail.com>

> This is just a wild guess but I think CSS is doing it.
>
>
> Kenneth
>
>
>  I wish to render a select box with size="3" sothat it will display 3
>> items (instead of default size 1)
>>
>> I specified it in View as under--
>>
>> <form id= ...etc.>
>> <select id="x" name="y" size="3">
>> <option>opt1</option>
>> <option>opt2</option>
>> <option>opt3</option>
>>
>> etc.
>> </select>
>> </form>
>>
>> But its height(size) remains unaltered (1).
>> It displays a scrollbar though.
>> ----------------
>> The same code, if tested in a standalone html file, works correct
>> (i.e. the size is altered to 3)
>> ----------------
>> Why my code in "View" is not able to override the default size of 1?
>>
>> Thanks,
>>
>> Vineet
>>
>
>


-- 
 http://martin.tecnodoc.com.ar

Reply via email to