CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 23rd, 2001, 06:32 PM
chausfeld chausfeld is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Posts: 187 chausfeld User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 h 37 m 23 sec
Reputation Power: 7
it must be obvious! css and link underline

I have no idea why this isn't working. I've done this so many times and for some reason, it's just not working this time!

I simply want no link underlines using my stylesheet. It works on all browsers/platforms except NS4.x on the Mac. Why will it not understand text-decoration:none? In fact, it's not seeing the stylesheet at all, since the font and colors are the default. I feel so dumb!

Here's the code:
<STYLE type="text/css">
td {font-family: verdana, arial, helvetica, sans-serif; font-size: 11px; color: #666666;}
a:link {font-family: verdana, arial, helvetica, sans-serif; text-decoration:none; font-size:11; color:#666666;}
a:visited {font-family: verdana, arial, helvetica, sans-serif; text-decoration:none; font-size:11; color:#999999;}
a:hover {font-family: verdana, arial, helvetica, sans-serif; text-decoration:none; font-size:11; color:#000000;}
input {font-family: verdana, arial, helvetica, sans-serif; font-size: 11px; color: #666666;}
</STYLE>

then within the body, in a table I have:
<td height="25"><a href="local.html">local events</a></td>

Reply With Quote
  #2  
Old October 23rd, 2001, 06:51 PM
Zoko Siman's Avatar
Zoko Siman Zoko Siman is offline
Web Monkey
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: I refuse to be from anywhere, I am one with the internet
Posts: 76 Zoko Siman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via ICQ to Zoko Siman Send a message via AIM to Zoko Siman
Correct me if I wrong, but isnt Nutscr--- netscape 4 old? Arent they on version 6 now? I dont know why anyone would want to use netscape anyway.


But I think that it's probably just a browser problem. Is there any option in 4.x that you can turn on and off for style sheets? You may wish to check into that.

Good luck to you
__________________
Quick, think of something geeky to say before they catch on!
Mozilla is your friend!
Web Site

Reply With Quote
  #3  
Old October 23rd, 2001, 06:57 PM
chausfeld chausfeld is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Posts: 187 chausfeld User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 h 37 m 23 sec
Reputation Power: 7
As much as I *wish* I didn't have to bother with Netscape, the fact remains that I do. And I would love to ignore the "older" versions, but at this point in time, I am still developing for NS4.5+ since that's what the clients are asking for.

No there isn't a way to turn stylesheets on/off like you can with javascript. Any other ideas?

Reply With Quote
  #4  
Old October 23rd, 2001, 07:12 PM
adios adios is offline
Senior Citizen
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2001
Location: leftcoast
Posts: 2,019 adios User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 10
chausfeld -

No CSS being applied at all?

Reply With Quote
  #5  
Old October 23rd, 2001, 09:28 PM
evildj evildj is offline
Beelzebub
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Location: The nether regions...ok, San Diego
Posts: 164 evildj User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
In my experience, pseudo-classes have no effect in NS4, so...

a {font-family: verdana, arial, helvetica, sans-serif; text-decoration:none; font-size:11pt; color:#666666;}
a:visited {color:#999999;}
a:hover {color:#000000;}

the hover rule will have no effect in NS4

I put the pt part in there, it could be px, I guess, but you do need something there.

Reply With Quote
  #6  
Old October 24th, 2001, 11:21 AM
chausfeld chausfeld is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Posts: 187 chausfeld User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 h 37 m 23 sec
Reputation Power: 7
Thanks for the help -- I'll try that and let you know how it works.

But before I do, what do you mean by "pseudo classes"? I do know that hover is not supported by Netscape, however, I'm not understanding why the link is the default color of blue, still has underlines and is in the default font. On NS/Mac, it is not seeing the stylesheet at all (NS/PC is fine).

Reply With Quote
  #7  
Old October 24th, 2001, 12:00 PM
chausfeld chausfeld is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Posts: 187 chausfeld User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 h 37 m 23 sec
Reputation Power: 7
that worked - thanks! but I still don't understand why it wasn't working before...

Reply With Quote
  #8  
Old October 24th, 2001, 12:09 PM
Svindel Svindel is offline
- better than hex
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Location: Odense, Denmark
Posts: 10 Svindel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Svindel
Talking Well - the fact is that NS is ****ed

not only in this context btw. - but you could easily use JS to check for browserversions and then have seperate stylesheets using a document.write(<link rel...etc.) according to the results of the browser check - just my 5 cents...
__________________
Sv!ndel

- And there will be such intense darkness that one can feel it
Exodus 10:21

- It compiles! Let's ship it!

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > it must be obvious! css and link underline


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway