In CSS, say i have something like this:
How would i do something simular, but with mousedown?Code:
A.mylinks:hover{
properties
properties
}
like, for exapmle:
Code:
A.mylinks:MOUSEDOWN{
properties
properties
}
Printable View
In CSS, say i have something like this:
How would i do something simular, but with mousedown?Code:
A.mylinks:hover{
properties
properties
}
like, for exapmle:
Code:
A.mylinks:MOUSEDOWN{
properties
properties
}
that isn't possible..
"A" has only got three subheads..
:link
:visited
:hover
You cannot declare more... may be some scripting may help
You could set a class for the onmousedown event and swap classes in the event through a script.
<style>
.pressed { color:red; }
.norm {color:yellow; }
</style>
<a HREF = "mypage.htm" CLASS = "norm" ONMOUSEDOWN = "this.className = 'pressed';">Click Me</a>