Text Decoration in IE and NS

admin

Administrator
Staff member
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??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.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.
 
Back
Top