You need to sign in to do that
Don't have an account?
prati@salesforce
formatting text in output label
Hi folks,
I am using outputLabel to display some text in my visualforce page. But I wanted to format only a part of the text and make it bold or change its color. I tried using CSS but it formats the everthing inside outputLabel. How can I only format a portion of it?
Thank you
I am using outputLabel to display some text in my visualforce page. But I wanted to format only a part of the text and make it bold or change its color. I tried using CSS but it formats the everthing inside outputLabel. How can I only format a portion of it?
Thank you
Try using a span tag inside your label. Please, refer to the code below:
Regards.
Don't forget to mark your thread as 'SOLVED' with the answer that best helps you.