+ Start a Discussion
Beat123Beat123 

Title attribute different font

Title attribute two different fontsfriends,

i am trying to Show two different fonts in title of page block Section. is it possible to show title  in two different Colors and Font Size .please help. please see attached image for reference how i want to show titel. [Title]

Thanks
BeatUser-added image
Best Answer chosen by Beat123
BalajiRanganathanBalajiRanganathan
you can try to use apex:facet component with html for the title inside your main component like pageblocktable. 
<apex:facet name="header"><font size="3" color="red">This is some text!</font><font size="2" color="blue">This is some text!</font>

or you can use an pageblock as titile
 
<apex:pageBlock ><font size="3" color="red">This is some text!</font><font size="2" color="blue">This is some text!</font> </apex:pageBlock>


 

All Answers

BalajiRanganathanBalajiRanganathan
you can try to use apex:facet component with html for the title inside your main component like pageblocktable. 
<apex:facet name="header"><font size="3" color="red">This is some text!</font><font size="2" color="blue">This is some text!</font>

or you can use an pageblock as titile
 
<apex:pageBlock ><font size="3" color="red">This is some text!</font><font size="2" color="blue">This is some text!</font> </apex:pageBlock>


 
This was selected as the best answer
Beat123Beat123
Many Thanks Works like a Charm!!