Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Netscape ignores text decoration in scrollbar

Status
Not open for further replies.

cactus1000

Programmer
Aug 31, 2001
149
US
I recently put a scrolling bar on my webpage that contains links. I used "STYLE='TEXT-DECORATION: NONE" to remove the underline effect from the links. Everything worked fine in Netscape (4.71) and in IE 5.0 as long as there was only one link. When I added three more, Netscape began selectively ignoring the text decoration. And it does it with a pattern! On the first iteration, links 1 and 4 have underlining. On the seconc iteration, it's link 2 only -- then back to 1 and 4 again.

Has anyone had a problem like this?

I tried slowing down the scroll speed thinking that the browser didn't have time to read and interpret the tags, but that wasn't it.

Help.
 
you could try

text-decoration:none; as css should be all lower case -- its case sensitive. ===
Supports Mozilla and Web Standards
Knows HTML/XHTML, CSS1, JavaScript, PHP, C++, DOM1
===
 
You're right, of course, but I tried this and the problem persists. That gosh darn Netscape...
 
One more suggestion:
NS has problems with inline styles.
Define a class
<style type=&quot;text/css&quot;>
.nonu {text-decoration:none;}
</style>

and apply it to your links:
<a href=&quot;one.html&quot; class=&quot;nonu&quot;>One</a>

HTH.
D.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top