+ Start a Discussion
priyanshipriyanshi 

styling command link

i have the following piece of code but it has no effect on the command link style.

 

<style>

.linksclass
{
a:link {color:#FF0000;}
a:visited {color:#00FF00;}
a:hover {color:#FF00FF;}
a:active {color:#0000FF;}
}

</style>

 

<apex:commandLink action="{!first}" styleClass="linksclass" >First</apex:commandlink>

 

 

can anyone suggest how to achieve a similar effect?

thanks 

Navatar_DbSupNavatar_DbSup

Hi,

Try the below code snippet as reference:

linksclass

{

background:#5a9dd3;

color:#ffffff;

}

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved. 

priyanshipriyanshi

i want the link to change colour when i hover my mouse over it? how do i achieve that?