function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
r1985r1985 

Displaying output value with underline

Hi,

 

I am working on a visualforce page which will render as a pdf. I have to display the output values with underline. I am using style value text-decoration:underline for outputText tag. But it is not displaying with underline. Kindly let me know how can this required be achieved.

 

 

Thanks,

MVP

kiranmutturukiranmutturu

try like this

<u> <apex:outputtext.............../></u>

r1985r1985

<u> tag is also only not working when it renders as a pdf.

kiranmutturukiranmutturu

if you dont mind could u plz post the code.. y because i am able to get the underline when i am rendering as pdf with the above line of code...

Raja Bipin Chandra  M BRaja Bipin Chandra M B
<div style="font-family: 'Helvetica', SansSerif;">
        <h1 style="font-size: 25px;margin-left:100px;font-style:normal;font-weight: normal;">This is to certify&nbsp;&nbsp;&nbsp;&nbsp;<span style="font-weight: bold;margin-left:120px;text-decoration:underline;">{!con}</span> </h1>
 
        </div>