function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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?