This question about Using an extension: Answered
The last BGCOLOR parameter specified in the Topic overrides all previous ones before it. I want each box to have different background colors.
I have the following two "include" boxes in a topic. I want each to have a different color - however the second one BGCOLOR="#FFD8AA" always overrides the first one, and the boxes end up having the same color.
How do I make these show the color I have specified for BGCOLOR?
- Warning
- Can't INCLUDE '
"System.SnazzyRoundedCornersContrib"
TOPICTOSHOW="DatabaseTeam.MainPageInfo"
BORDERCOLOR="#929234"
BGCOLOR="#dcf1A5"
FLOAT="right"
WIDTH="350px"
HEIGHT="265px"
IDSHOW=""
SECTION=""', path is empty or contains illegal characters.
- Warning
- Can't INCLUDE '
"System.SnazzyRoundedCornersContrib"
TOPICTOSHOW="DatabaseTeam.MainPageInfo2"
BORDERCOLOR="#929234"
BGCOLOR="#FFD8AA"
FLOAT="right"
WIDTH="350px"
HEIGHT="250px"
IDSHOW=""
SECTION=""', path is empty or contains illegal characters.
I haven't used this contrib myself, but by inspection it looks like you should define a unique IDSHOW per TOPICTOSHOW otherwise the last css declaration for the background, with nothing to differentiate it from the others, overrides all the previous declarations.
--
DavidPatterson - 18 Nov 2010
That solved it. Thank you David. You're awesome!
Cool, setting status to Answered.