MODENA SelectOneMenu Style width

Locked
david.chacon
Posts: 17
Joined: 23 Jun 2011, 23:33

15 Sep 2015, 23:16

Hi guys.

I have Modena layout and I use SelectOneMenu on my css have:

select{
width: 99%;
}

.ui-selectonemenu{
border: solid black;
width: 210px;
}

But my SelectOneMenu is render with 10px;
Please help me !!!
David Andrade B
Oracle Certified

User avatar
aragorn
Posts: 3637
Joined: 29 Jun 2013, 12:38

16 Sep 2015, 08:38

Please remove this css;

Code: Select all

select{
   width: 99%;
}
And you can try;

Code: Select all

.test.ui-selectonemenu{
   width: 210px !important; /* or 99% !important */
}

<p:selectOneMenu id="car" styleClass="test" .../>

Locked

Return to “Modena”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest