|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
||||
|
||||
|
@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. |
|
#4
|
|||
|
|||
|
Oops sorry. I didn't read it properly. Border is correct.
John Last edited by john-formby : December 14th, 2003 at 10:56 AM. |
|
#5
|
|||
|
|||
|
the proper 'border' format is as follow:
border:size type color so you'd need border:1px solid #666666; |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > css style in anchor tag |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|