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=<p>Name</p>

CSS file:
p:first-letter {
    text-decoration:underline;
}

HTML file:
<span key="name.key" raw="true">Name value from props file</span>



-----Original Message-----
From: Peter Dawn [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 29, 2006 1:30 AM
To: tapestry-user@jakarta.apache.org
Subject: Underline content with properties files

guys,

i want to underline one letter of a word, which is within my
properties files. i mean say i have a word like "Name". I want to
underline N. If i was using static text I could use <u> tag. but since
this information is now in a properties file, how should i do this.

any ideas.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to