wood burning stoves 2.0*
The moose likes JSF and the fly likes How to add style to h:panelGrid Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "How to add style to h:panelGrid" Watch "How to add style to h:panelGrid" New topic

How to add style to h:panelGrid

chen young
Ranch Hand

Joined: Sep 09, 2005
Posts: 188

I have a panel grid with two columns and I want to align the right column text in the center and the left column text to the left.

I try to play with it over and over but still it’s not working

Here is the css:

Any idea how could I archive this layout ??

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15961

Not "styleClass". Use "columnClasses" on the panelGrid element.

Customer surveys are for companies who didn't pay proper attention to begin with.
I agree. Here's the link: http://aspose.com/file-tools
subject: How to add style to h:panelGrid
Similar Threads
Safari - TypeError on first submit
JSF h:outputText style attribute
RichFaces SuggestionBox Not Displaying Values
Trying to refresh a dataTable on a JSP after data is updated but so far no luck
problem in using richfaces