• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 266
  • Last Modified:

creating links

Hi,

How can we create a link without the underline below them? I'm using asp.net webcontrol hyperlink control

Thanks.
0
lynnton
Asked:
lynnton
  • 2
  • 2
2 Solutions
 
laotzi2000Commented:
add attribute
style="text-decoration:none"
0
 
RejojohnyCommented:
u can add a style class to the link .. this style can be defined so that it does not have a underline ....

<Style>
.MyClass
{
.. urstyle
}
</Style>
<asp:HyperLink id="HyperLink1" runat="server" CssClass="MyClass">HyperLink</asp:HyperLink>
0
 
lynntonAuthor Commented:
Is it okay if you could kindly guide me o nthe code below:

                        <table cellspacing="0" bgcolor="whitesmoke">
                            <tbody>
                                <tr>
                                    <td>
                                        <asp:HyperLink id="HyperLink3" runat="server" Font-Size="XX-Small" Font-Names="Verdana" NavigateUrl="desigmas.aspx" Font-Bold="True">Deignation database</asp:HyperLink>
                                    </td>
                                </tr>
                                <tr>

0
 
RejojohnyCommented:
<Head>
<Style>
.MyClass
{
text-decoration: none;
}
</Style>
</Head>

<asp:HyperLink id="HyperLink3" runat="server" Font-Size="XX-Small" Font-Names="Verdana" NavigateUrl="desigmas.aspx" Font-Bold="True" CssClass="MyClass">Deignation database</asp:HyperLink>
0
 
laotzi2000Commented:
<asp:HyperLink style="text-decoration:none" id="HyperLink3" runat="server" Font-Size="XX-Small" Font-Names="Verdana" NavigateUrl="desigmas.aspx" Font-Bold="True">Deignation database</asp:HyperLink>
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now