How to make hyperlinks appear as regular text

7 replies
  • WEB DESIGN
  • |
I would like to know how to override the html for a hyperlink, i.e. have it appear as regular text (not blue or underlined).

I just want to do this as one-offs in specific posts not by changing the stylesheet.

Can someone help me out?

thanks
Kevin
#hyperlinks #make #regular #text
  • Profile picture of the author conceptsti
    you will have to do it through the css file.
    what is your site? word press?
    {{ DiscussionBoard.errors[3954173].message }}
  • Profile picture of the author FabianSmith
    <style type="text/css">
    a.hover: underline(none)
    </style>
    <a href="link.htm">link text</a>

    its been a while scince ive worked with html so this may be deprecated but try it and im not positivley sure it will work with my space it should though, and you may not need the style dependin on if you want it underlined or not. rmember html ignores extra white spaces
    {{ DiscussionBoard.errors[3954750].message }}
  • Profile picture of the author xtrapunch
    < a href="http://www.yourlink.net" style="color:#000; text-decoration:none; font-weight:normal;">Your Link< / a>
    Replace the styling and color with your own so that it blends with the text.
    Signature
    >> Web Design, Wordpress & SEO - XtraPunch.com <<
    Web Design & SEO Agency | Serving World Wide from New Delhi, India

    {{ DiscussionBoard.errors[3955200].message }}
  • Profile picture of the author ronc0011
    You can still use your CSS, just create two different classes for your anchor tags then apply the appropriate class to the tag.
    {{ DiscussionBoard.errors[3955498].message }}
    • Profile picture of the author ksb9194
      What a fantastic forum. Thank-you all for taking the time to respond.

      @FabianSmith - I tried your suggestion first but it wouldn't work for me (didn't change the color plus it added a blank line?). Although I think perhaps you were trying to tell me to replace "text/css" with something - unfortunately I didn't know what:confused:

      @xtrapunch - Your code worked perfect as is (once I removed a couple extra spaces from the code). Thank-you!

      Kevin
      {{ DiscussionBoard.errors[3955837].message }}
  • Profile picture of the author CloudBoomers
    What would be the reason to have the hyperlink blend in? I'm relatively new to creating websites and I'm just curious.

    Thank you!
    {{ DiscussionBoard.errors[3955945].message }}
    • Profile picture of the author saturated
      Sounds like this might lead you into trouble...if your thinking about stuffing it with a ton of links. The inverse to this would be..?? I wonder -- but No one will know they are links :S

      But I'm sure you are doing something different :S
      {{ DiscussionBoard.errors[3960746].message }}

Trending Topics