By using the below style in commandLink tag,We can remove underLine.
style="text-decoration: none;"
Visualforce Page:
<apex:page >
<apex:form >
<apex:commandLink > With UnderLine From Command Link </apex:commandLink> <br/><br/>
<apex:commandLink style="text-decoration: none;"> Without UnderLine From Command Link </apex:commandLink>
</apex:form>
</apex:page>
Output:
style="text-decoration: none;"
Visualforce Page:
<apex:page >
<apex:form >
<apex:commandLink > With UnderLine From Command Link </apex:commandLink> <br/><br/>
<apex:commandLink style="text-decoration: none;"> Without UnderLine From Command Link </apex:commandLink>
</apex:form>
</apex:page>
Output:
No comments:
Post a Comment