|
-
Aug 30th, 2006, 08:22 AM
#1
Thread Starter
Fanatic Member
Remove underline from link button [SOLVED]
How do I remove the underline from a link button?
I want it removed in all cases -when it is new or visited.
I can use the style tag, or some other method if neccessary.
Last edited by dogboydelta; Aug 30th, 2006 at 11:29 AM.
Reason: solverd
-
Aug 30th, 2006, 08:40 AM
#2
Re: Remove underline from link button
Link buttons are rendered as anchors <A .... > so you can remove the underline from all anchors in your website by using.
In CSS:
Code:
A
{
text-decoration:none;
}
or otherwise create a CSS class and only assign it to your link buttons.
Last edited by Fishcake; Aug 30th, 2006 at 08:56 AM.
-
Aug 30th, 2006, 09:23 AM
#3
Thread Starter
Fanatic Member
Re: Remove underline from link button
How can I do it on just specific link buttons ( so not all links on the page will be affected )
-
Aug 30th, 2006, 09:38 AM
#4
Re: Remove underline from link button
.CSS
Code:
.NoUnderLine
{
text-decoration: none;
}
.aspx
Code:
<asp:linkbutton id="whatever"..... CssClass="NoUnderLine" />
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|