www.webdeveloper.com
Results 1 to 3 of 3

Thread: Text Decoration in IE and NS

  1. #1
    Join Date
    Apr 2003
    Posts
    34

    Text Decoration in IE and NS

    I have this in my pages

    A:link {
    text-decoration : none;
    color : #238b7b;
    background-color : transparent;
    }
    A:visited {
    text-decoration : none;
    color : #b14e87;
    background-color : transparent;
    }
    A:active {
    text-decoration : none;
    color : maroon;
    background-color : transparent;


    so that the links will not display with the default underlining at least with Internet Exporer, yet with Netscape, they are all underlined and some even seem to have thicker lines than others. What's the trick to get 'text and links without under-lines' other than using 'no decoration' or in-line style ...in at least both IE and NS??

  2. #2
    Join Date
    Nov 2002
    Posts
    4,473
    What version?

    NS 4 does not support those pseudo-classes for the A tag. You need to specify ALINK and VLINK colors in the BODY tag, and specify a style for A.

  3. #3
    Join Date
    Apr 2003
    Posts
    34
    Thanks Gil D,

    I am using NS-7 and IE-6.
    I ran the CSS and HTML thru w3 Validator and there was an problem with getting some ANSI codes elements to be identified (a symbol I was substituting for one that is common in music) ..it had lots of un-expected errors because of this which may have contributed to the underlining elimination constraints that did not make sense. And I chaged the DOC-Type from 'strict to loose' at least temporarily until I can master some other basic tasks...I checked out some books at the library so that'll help since finding facts on the w3 site can be a challenge. The pages are more as expected now.

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