+ Start a Discussion
shravani milshravani mil 

Hyperlink for fonting

 Is any way to change the color and bolding of the hyperlink in visual force page  field name 
DMAccount Lookup(which is lookup for Account) and is a hyperlink i want to change the color and bolding of this link can any one suggest.
Pankaj_GanwaniPankaj_Ganwani
Hi,

You can use below mentioned CSS to achieve this in your vf page:

a
{
    font-weight:bold;
    color:green;
}

Thanks,
Pankaj
shravani milshravani mil
Hi pankaj above mentioned field is a formula field "HYPERLINK("/apex/DMainAccountPlan?id="&Id&"&acclookup="&"alookup","DMAccount LookUp") so now i want this as a some color and some bolding output.

 
Pankaj_GanwaniPankaj_Ganwani
You can try with above mentioned CSS as the hyperlink is rendered in the form of anchor tag in HTML.
shravani milshravani mil
cant we acheive in the formula field pankaj
Pankaj_GanwaniPankaj_Ganwani
Yes, You can try with above CSS. Place this CSS within your <style> </style> in your vf page.