Hai
I need to change word color with underline in link button using css when mouse over.
Actually i did in design time for link button ,
font-underline="false"
font-family=" Arial"
font-size=" 12px"
font-weight="bold"
color=" black"
so it look like word not as link button(this is my need).i have 5 link buttons all are same properties like above.in javascript for each link button onclienclick event i will change that color to "blue"
OnClientClick="return AddDept_ClientClick()"
and in javascript
document.getElementById("ctl00_ContentPlaceHolder1_lnkAddDept").style.color = "Blue"
document.getElementById("ctl00_ContentPlaceHolder1_lnkAddUser").style.color = "black"
document.getElementById("ctl00_ContentPlaceHolder1_lnkImpADUser").style.color = "black"
document.getElementById("ctl00_ContentPlaceHolder1_lnkImpUserList").style.color = "black"
document.getElementById("ctl00_ContentPlaceHolder1_lnkExpUserList").style.color = "black"
bcz all link button related with each other.(i.e) if i click one link button ,that link button chnage to blue color and other four chnage to black color,so only user know which link button is clicked.and it will work fine.
But my need is ,i need to implement mouse hover concept in link button.
i mean if user hover the link need to change color with underline word,if mouse out it stay in default style.
if i add css for mouse over
.change:hover
{
color: red;
text-decoration:underline;
}
1.underline word not work.
2.if i mouse hover for all link button color only chnaged,if i click any link button other get black color using javascript this is also my need,but if i try to mouser hover again it not work,bcz in javascript i will give black color for other link button.
if i remove javascript it will work,but i need to chnage color of link button when i click another link button.
pls reply me how to solve this proble ?
regatds
Aravind