[SOLVED] fieldset style

UI Components for JSF
Post Reply
Tuvshin09
Posts: 93
Joined: 19 Feb 2010, 11:59

25 Jan 2011, 14:58

Hi all
Is there any skinning style classes for fieldset?
I want to change the background color of the fieldset legend. It looks like button.

Thanks
Tuvshin
Last edited by Tuvshin09 on 23 Mar 2011, 13:12, edited 1 time in total.

Tuvshin09
Posts: 93
Joined: 19 Feb 2010, 11:59

23 Mar 2011, 13:12

I solved it.
see code:
my css and fieldset style:

Code: Select all

...
myFieldset .ui-fieldset, .ui-fieldset .ui-fieldset-legend {
background-color: transparent;
border-color: transparent;
}
-
xhtml:

Code: Select all

<p:fieldset  legend="Event Details" styleClass="myFieldset">
...

At first it did not work after this implementation. And I wondered why ?.. Also It didnt work becaues of browser cookies. After the cookies of my browser were removed, it works well. :)

Tuvshin

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 21 guests