Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi all, I have created a menu co 1

Status
Not open for further replies.

ami7

Programmer
Oct 3, 2002
48
GB
Hi all,

I have created a menu control.(user control in the form of menu).
I have used this link button for listing the menu items. but by default it underlines the linkbutton which
i don't want.

Is there any way to remove the underline or is there any other button equivalent to that.
Also when the user places the cursor on the item it should display as link.
pls help. very urgent.

Rgds,
ami
 
You can get rid of the underline in a hyperlink by adding this to your CSS A: classes

text-decoration: none;

Other than through CSS, I'm not sure you can remove the line

D
 
hi,
Also i want to add the underline when i place my cursor on top of the menu item.

can i achieve this?

rgds,
ami
 
yup.

There's a class for A called hover

A:hover
{
text-decoration: underline;
}

Just put 'underline' instead of 'none'. That way, if the mouse is over, the line will show up.

D
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top