Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to allgin text in JSF application?

 
Saravanakumar Gurusamy
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to allgin text in JSF application?
 
Krishna Srinivasan
Ranch Hand
Posts: 1862
Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
use this tag for printing normal text or html tags
<f:verbatim></f:verbatim>
 
Edisandro Bessa
Ranch Hand
Posts: 584
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Depending on tag you use, look for a property called "align" and set its value with "left","center" or "right"

You can also use the "style" property (if your components has this property of course). Example. style="text-align:left".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic