|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
null links and css classes
Hiya.
I've got a bunch of javascript links which I want to be part of a css class. the problem is because the links are nulled for the javascript (i.e. <a href="#" onClick= etc etc.>) they are not responding to the class declarations (e.g. a.nav:hover { color: #414f63; text-decoration: none; } has no effect). If i remove the null href value, then the css works, but, of course, the javascript doesn't. any ideas? thanks, _e. |
|
#2
|
||||
|
||||
|
Try...
Code:
<a href="java_script_:;" onClick="">Here</a> [remove the "_"'s]
__________________
Support requests via PM will be ignored! |
|
#3
|
|||
|
|||
|
wow. that is a good trick!
worked like charm.
thanks ![]() |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > null links and css classes |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|