Eric
The fundamental question is - how can I tweak the accordion menu to a fare-thee-well?
Actually that's not really the question, because I know how to do that, I'm conversant with css.
The problem is that I seem to be stymied by redundant rules.
You've answered many times and in many places that all I need do is tweak the one line of code in main.dwt and the one rule in spry_custom.css.
Unless I'm sorely mistaken, that won't allow me to make the changes I would like.
Those being I don't know yet, could be anything, gradient images triggered by hover or click. Changes in size to differentiate the various states - whatever.
I came here to ask this question initially because I became aware that there were numerous css files seemingly working at odds, attempting to control the same div or class.
For example:
spry_custom.css contains the following -
.Accordion
.AccordionPanelTab
.AccordionFocused .AccordionPanelOpen .AccordionPanelTab
.AccordionPanelOpen .AccordionPanelTab
.AccordionFocused .AccordionPanelTab
.AccordionPanelTabHover
.AccordionPanelOpen .AccordionPanelTabHover
SpryAccordion.css contains the very same -
.Accordion
.AccordionPanelTab
.AccordionFocused .AccordionPanelOpen .AccordionPanelTab
.AccordionPanelOpen .AccordionPanelTab
.AccordionFocused .AccordionPanelTab
.AccordionPanelTabHover
.AccordionPanelOpen .AccordionPanelTabHover
And in both files the rules contained sometimes control the very same thing differently from one another.
Here is a specific actual case in point -
SpryAccordion.css - .AccordionPanelTab {background-color: #CCCCCC;}
spry_custom.css - .AccordionPanelTab {background-color: #000;}
I don't understand how this can not be a problem.
Please explain?
Is there some hierarchy of precedence these files adhere to?
If so, what is it and how is it determined?
Next, paraphrasing your original answer here "tweak the one line of code in main.dwt and the one rule in spry_custom.css" I inferred that I should not have touched the other css files - SpryAccordion.css being one of many that I have tweaked.
You've never answered whether this is something I should not have done or if there are any rules as to how I should approach these files to make changes.
If these files are meant to be inviolable than should they be replaced with original files?
As concise as I can be at the moment and probably not complete.
Mick