• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to add style to h:panelGrid

 
chen young
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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 ??

Thanks
 
Tim Holloway
Saloon Keeper
Posts: 18304
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not "styleClass". Use "columnClasses" on the panelGrid element.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic