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

Displaying output value with underline



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.






try like this

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


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


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>