help with 'a href' links please....???

by 7 replies
9
how do I remove the 'underline' on all html hyperlinks?

I have them appearing on all my hyperlinks 'a href' links and when they are clicked on they dissapear momentarily before the new page loads.

any help appreciated?
#programming #href #links
  • Hi Friend,

    Write the following class in stylesheet and include that css file in every html page.
    Here is the code snippet for css class

    a {
    text-decoration:none !important;
    }

    or write following on each HTML page
    <style type="text/css">
    a {
    text-decoration:none !important;
    }
    </style>

    Hope this will help.
    • [ 2 ] Thanks
    • [3] replies
    • @eluminousdev THANKYOU...............................!!!!!!
    • Awesome answer... thanks for your help..
    • Great answer.underline in hyperlink is really outdated.
  • CSS Styling Links

    That site is awesome for quick copy and paste scripts
    • [1] reply
    • Yes it is!
      but if you're going to build a web site, you need to know at least a basic css already :/
  • For anyone who needs to understand that css code.

    text-decoration: none - removes any standard underline
    !important - applies this rule regardless of where the rule appears in the css

Next Topics on Trending Feed