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

7 replies
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?
#href #links
  • Profile picture of the author eluminousdev
    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.
    {{ DiscussionBoard.errors[6426657].message }}
    • Profile picture of the author Justin B
      @eluminousdev THANKYOU...............................!!!!!!
      {{ DiscussionBoard.errors[6426796].message }}
    • Profile picture of the author amitv570
      Originally Posted by eluminousdev View Post

      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.
      Awesome answer... thanks for your help..
      {{ DiscussionBoard.errors[6426825].message }}
    • Originally Posted by eluminousdev View Post

      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.
      Great answer.underline in hyperlink is really outdated.
      Signature
      {{ DiscussionBoard.errors[6444446].message }}
  • Profile picture of the author CPAGodFather
    CSS Styling Links

    That site is awesome for quick copy and paste scripts
    {{ DiscussionBoard.errors[6496836].message }}
    • Profile picture of the author PaulCook
      Originally Posted by CPAGodFather View Post

      CSS Styling Links

      That site is awesome for quick copy and paste scripts
      Yes it is!
      but if you're going to build a web site, you need to know at least a basic css already :/
      {{ DiscussionBoard.errors[6502728].message }}
  • Profile picture of the author John Ayling
    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
    Signature
    Software Marketing & Licensing System for WordPress Plugins, Themes & .NET Software
    >> 72 Hour Special <<
    {{ DiscussionBoard.errors[6518859].message }}

Trending Topics