drupal
Junior Member
Posts: 7
Registered: 11/15/2007
Member Is Offline
|
| posted on 12/11/2007 at 05:57 PM |
|
|
Tree Item Color/Background
Hello.
I have this problem that when I select any item in the Tigra Tree and as soon I release the mouse the item color changes to what's been specified in
a:visited style rule.
Is it possible to keep the a:active rule effect even when the mouse is released already?
Thanks.
drupal
|
|
|
tigra
Administrator
Posts: 1926
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 12/11/2007 at 09:10 PM |
|
|
It is true that the globally defined (or default) styles for <a..> tag affect the tree appearance (which relies on <a..> tags). It is
possible to redefine the css properties for all elements inside the particular container. For example if you put the tree inside the <div
id="myTree"> you can specify CSS properties for all <a ..> tags inside it by following styles:
#myTree a { .. }
#myTree a:link { .. }
#myTree a:active { .. }
#myTree a:visited { .. }
#myTree a:hover { .. }
where ".." are the properties you want to specify.
|
|
|