style not working apex:outputtext

Sample Code:

<apex:outputText style="font-size:10px; font-weight:bold; color:red;" value="Testing Style in outputtext tag."/>

In the below code, style won't be applied.

<apex:outputText style="font-size:10px; font-weight:bold; color:red;">Testing</apex:outputText>

Cheers!!!

No comments:

Post a Comment