Search found 2 matches

by tschwoeppe
Fri May 15, 2015 4:26 am
Forum: Tips and Tricks
Topic: Tip: Styling conditions in HTML5 help
Replies: 17
Views: 19005

Re: Tip: Styling conditions in HTML5 help

Just to clarify...we can only style condition tags for HTML5 output? If I want to add a background color to a condition tag for PDF output, my only option is to tag the text with a condition and tag it with a style. Correct? I'm not sure whether it's just HTML5 output, but PDF for sure doesn't work...
by tschwoeppe
Mon Oct 06, 2014 7:37 am
Forum: Tips and Tricks
Topic: Tip: Styling conditions in HTML5 help
Replies: 17
Views: 19005

Re: Tip: Styling conditions in HTML5 help

Just a small addition to this. The CSS selector won't match when you have put multiple conditions on an element. For that to work, you'd need to do: [data-mc-conditions*="Condition.Comment"] { background-color: yellow; } Notice the "*=" instead of just "=". Then it matc...