This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to align text to RIGHT in h:outputText

 
ram gaurav
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am making a table using jsf and in one coloumn i am making :

<hutputText value="Location" style="text-align:right;"/>

but it is not aligning the text as i defined i.e. right
Can you please tell me that how to do that.

Thanks
 
Denise Smith
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check your style sheets for outputText definitions
 
Richard Green
Ranch Hand
Posts: 536
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
just put a border around the label so that you can see how big it really is and whether it is right-aligned or not.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic