Welcome our webmaster and SEO forum
Please enjoy the forum, contribute what you can, and wind up the Moderators!
Results 1 to 7 of 7

Thread: How to override the underlining of hyperlinks?

  1. #1
    Computer Master is offline Junior Member
    Join Date
    Oct 2008
    Posts
    3

    Default How to override the underlining of hyperlinks?

    Hi all

    Can anybody tell me how to override the underlining of hyperlinks

    Thanks

  2. #2
    alvarez16 is offline Junior Member
    Join Date
    Oct 2008
    Posts
    17

    Default

    Try looking on Google my friend!

  3. #3
    maneetpuri is offline Junior Member
    Join Date
    Dec 2008
    Posts
    28

    Default RE :- Can anybody tell me how to override the underlining of hyperlinks

    Quote Originally Posted by Computer Master View Post
    Hi all

    Can anybody tell me how to override the underlining of hyperlinks

    Thanks
    Hi,

    You can do this by defining a CSS for the <a> tags.

    Cheers,

    ~Maneet Puri

  4. #4
    BlueBoden's Avatar
    BlueBoden is offline Member
    Join Date
    Nov 2008
    Posts
    72

    Default

    You can remove or change the underline using the CSS Text-decoration Property

    Though its a very bad idea to rely on color alone for links. In any case you should atleast consider to enhance you links with hover effects, and dont neglect the importance of having visited links show in a different color.
    Last edited by BlueBoden; 12-18-2008 at 02:23 PM.

  5. #5
    myst729's Avatar
    myst729 is offline Junior Member
    Join Date
    Oct 2008
    Posts
    16

    Default

    a {
    text-decoration: none;
    }

  6. #6
    karmadir is offline Senior Member
    Join Date
    Mar 2008
    Posts
    248

    Smile Yes you can do it by Css

    Yes, you can do it by CSS,it is easy to do so.

  7. #7
    gkumar is offline Member
    Join Date
    Aug 2009
    Posts
    61

    Default How to override the underlining of hyperlinks?

    A lot of people are interested in suppressing the underline in hyperlinks. Here is a way CSS offers that you can do:

    In the <HEAD> section of your HTML document, include the following:
    <STYLE TYPE="text/css">
    <!--
    A {text-decoration: none}
    -->
    </STYLE>
    For a single suppression of the underline, in your HTML document, include:
    < A STYLE="text-decoration: none"
    HREF="CSSFAQs.html">CSS FAQs</A>
    A suggestion for CSS enabled browsers which allows normal underlining for unvisited links, and turns off the underlining for visited links:

    <STYLE TYPE="text/css">
    <!--
    A:visited { color: navy; text-decoration: none; background: transparent;}
    A:link { color: teal; text-decoration: underline; background: transparent;}
    A:active { color: blue; text-decoration: underline; background: transparent;}
    -->
    </STYLE>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124