Meaningless Drivel is fun!*
The moose likes JSF and the fly likes Very basic question - how do I make this text underlined using style= 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 "Very basic question - how do I make this text underlined using style=""?...(SOLVED)" Watch "Very basic question - how do I make this text underlined using style=""?...(SOLVED)" New topic
Author

Very basic question - how do I make this text underlined using style=""?...(SOLVED)

Matt Kohanek
Village Idiot
Ranch Hand

Joined: Apr 04, 2009
Posts: 483

It is just a simple h:outputText tag:

<h:outputText value="Devices For #{updateAllBean.projectName} (ID - #{updateAllBean.projectId})" style="" />

I have the style= attribute there at the end, but I don't know what to put in there. I know if I want to do it in italic I use font:italic. I found it while trying to find out how to underline on w3schools.com, but I simply cant seem to find how to do underlined text!

I know it is a simple question, but please have pity lol

nevermind, text-decoration:underline, I found it


True wisdom is in knowing you know nothing - Socrates
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Very basic question - how do I make this text underlined using style=""?...(SOLVED)
 
Similar Threads
Primefaces css?
actionListener for JLabel
retrieve a int from backbean and dinamically work with it in the .xhtml in very bizarre way
formatting text in a JLabel
How to get the Underlined text in JTextPane