Board Logo

Tree Item Color/Background
drupal - 12/11/2007 at 05:57 PM


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?


tigra - 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.

Back to forum: