#1
  1. No Profile Picture
    Rajani
    Guest
    Devshed Newbie (0 - 499 posts)
    Is there any way of disabling the underlining of links on a web page programmatically?
  2. #2
  3. No Profile Picture
    timrey1
    Guest
    Devshed Newbie (0 - 499 posts)
    Check out www.htmlgoodies.com/tutors/nounderlineonlinks.html,
    it will tell you exactly how to do it, for one specific link or for a whole pag
  4. #3
  5. No Profile Picture
    dahamsta
    Guest
    Devshed Newbie (0 - 499 posts)
    Sure, you can just use a simple style sheet! Remember though that this will only work in 4 browsers.

    This goes in the HEAD of your document:

    <STYLE type="text/css">
    a { text-decoration: none }
    </STYLE>

    If you want those natty underlines when you mouseover the link (MSIE ONLY!), do it like this:

    <STYLE type="text/css">
    a:link, a:active, a:visited { text-decoration: none }
    a:hover { text-decoration: underline }
    </STYLE>

    Or, if you want to do it on a HREF by HREF basis:

    <A HREF="whatever.htm" STYLE="text-decoration:none">

    Hope this helps,
    adam

Similar Threads

  1. CSS underline color on links??
    By sheermonkey in forum CSS Help
    Replies: 5
    Last Post: January 11th, 2004, 01:35 PM
  2. not underline links?
    By imported28 in forum HTML Programming
    Replies: 2
    Last Post: October 16th, 2003, 12:06 PM
  3. underline links only on mouse over?
    By INE-Kpro... in forum HTML Programming
    Replies: 2
    Last Post: September 23rd, 2003, 08:30 AM
  4. Creating links without the underline
    By Jon12345 in forum HTML Programming
    Replies: 2
    Last Post: December 17th, 2001, 12:59 PM
  5. removing underline from links
    By ranjeet in forum HTML Programming
    Replies: 2
    Last Post: May 3rd, 2000, 01:38 AM

IMN logo majestic logo threadwatch logo seochat tools logo