Re: Underline content with properties files

2006-08-29 Thread DJ Gredler
There's a CSS first-letter pseudo element, but I don't know how many browsers support it. On 8/29/06, Oort, Dick [EMAIL PROTECTED] wrote: You could create a custom component for this, and pass the word as a parameter. In the html part of the component, you use ognl/java.lang.String to split

RE: Underline content with properties files

2006-08-29 Thread Thomas.Vaughan
CSS has a :first-letter meta style that could do what you want. Besides, u is deprecated anyway. Something like this should work: Properties file: name.key=pName/p CSS file: p:first-letter { text-decoration:underline; } HTML file: span key=name.key raw=trueName value from props file/span

RE: Underline content with properties files

2006-08-28 Thread Oort, Dick
You could create a custom component for this, and pass the word as a parameter. In the html part of the component, you use ognl/java.lang.String to split the String into 2 parts, putting the first part between u /u. Regards, Dick -Original Message- From: Peter Dawn [mailto:[EMAIL