Nice one Jo!
How about a custom CSS --property instead of a comment, since it might be more readable?
values="--Style: Gold--; border-color:#A18458; text-decoration:none;, --Style: Blue--; border-color:#2d3871; text-decoration:none;"
(Yes, that's a valid inline style.)
Given the width of the Marketo Drop Down list for variables is quite narrow, I wonder if losing so much space to '--style..' isn't less usable??
Probably six of one half a dozen of the other 🙂
Cheers
Jo
You could use
---: Gold
that's valid too.
But yes, that's 2 characters more than
/* Gold
I just think it's more readable.