SunQuest
           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 December 14th, 2003, 07:46 AM
ieie ieie is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 17 ieie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
css style in anchor tag

Hi,

I have this css style:

.rollover{border: solid 1px #666666; }

and try to place this to:

<a class="rollover" href="blah">link</a>

The problem is that in netscape 4.7, the link is not working, which is not clickable. However in IE, it is fine. Is it the netscape problem or my script problem? Please enlighten!

thanks in advance!

Cheers
Pieter

Reply With Quote
  #2  
Old December 14th, 2003, 08:45 AM
john-formby john-formby is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Formby
Posts: 52 john-formby User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 39 sec
Reputation Power: 5
You should be using:

.rollover{border-style: solid 1px #666666; }

Unfortunately only netscape 6.0 and above supports this. Check out http://www.w3schools.com/css/css_reference.asp for a list of all the CSS elements and their browser compatability.

John

Reply With Quote
  #3  
Old December 14th, 2003, 10:33 AM
Akh's Avatar
Akh Akh is offline
|<.+#f@#+.&.|
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Mar 2002
Location: norway
Posts: 2,620 Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 3 Weeks 6 Days 1 h 17 m 41 sec
Reputation Power: 532
@john-formby
actually it is correct to use the short form border:
when using border-style you only should assign the styling type, so yours example is wrong.

Reply With Quote
  #4  
Old December 14th, 2003, 10:40 AM
john-formby john-formby is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Formby
Posts: 52 john-formby User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 39 sec
Reputation Power: 5
Oops sorry. I didn't read it properly. Border is correct.

John

Last edited by john-formby : December 14th, 2003 at 10:56 AM.

Reply With Quote
  #5  
Old December 14th, 2003, 11:28 AM
Newton2k Newton2k is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Montreal, Quebec
Posts: 51 Newton2k User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via ICQ to Newton2k Send a message via AIM to Newton2k Send a message via Yahoo to Newton2k
the proper 'border' format is as follow:

border:size type color

so you'd need border:1px solid #666666;

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > css style in anchor tag


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 3 hosted by Hostway