You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Yixing Ma <yi...@interfacemgmt.net> on 2006/01/12 23:28:11 UTC

H:selectOneMenu question

Quick question,

 

 

How to change the width of a drop down list ?

 

H:selectOneMenu

 

 

I want to set a fixed width to the drop down list. It trims off the empty
spaces automatically.

 

Thanks


Re: H:selectOneMenu question

Posted by Mikael Andersson <ma...@gmail.com>.
Hi,
you could use the style attribute.
style="width:150px;"

Micke

On 12/01/06, Yixing Ma <yi...@interfacemgmt.net> wrote:
>
>  Quick question,
>
>
>
>
>
> How to change the width of a drop down list ?
>
>
>
> H:selectOneMenu
>
>
>
>
>
> I want to set a fixed width to the drop down list. It trims off the empty
> spaces automatically.
>
>
>
> Thanks
>