www.webdeveloper.com
Results 1 to 4 of 4

Thread: website tonight CSS editing to remove underline on hyperlinks

  1. #1
    Join Date
    Apr 2011
    Posts
    1

    website tonight CSS editing to remove underline on hyperlinks

    Okay, im building a website in website tonight, and when I create jpeg hperlinks it puts a dotted underline underneath them. I tried to get help on godaddys site but they werent very helpful. I need to know what part of the CSS code needs to be edited to remove these underlines. the CSS code is kinda long, so I dont want to post it all here, but I can if it helps.

  2. #2
    Join Date
    Feb 2008
    Location
    NW Washington State
    Posts
    1,856
    Links are <a> anchors, so look for the a:
    and set text-decoration to none... for example:

    Code:
    a:link {
    	color:#000000;
    	text-decoration: none;
    }
    a:visited {
    	color:#000000;
    	text-decoration: none;
    }	
    a:active {	
    	color:#000000;
    	text-decoration: none;
    }	
    a:link:hover {
    	color:#000000;
    	text-decoration: none;
    }
    There may be multiple styles for various anchors and classes but that's where you need to be looking.
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com

  3. #3
    Join Date
    Mar 2007
    Location
    Canada
    Posts
    99
    just want to add
    if the links are still underlined you could add

    text-decoration: none !important;

  4. #4
    Join Date
    Jan 2011
    Location
    America
    Posts
    32
    The text-decoration property.

    Check out this list...it could help you a lot, its very simple.

    CSS Property List
    The next generation image gallery - PicPods

    The future of the web - wcTutorials

Thread Information

Users Browsing this Thread

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

Posting Permissions

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



Recent Articles