I'm trying to code a font-family in a variable list, but I'm running into some syntax errors...
utilizing the variable:
<meta class="mktoList" id="defaultfontGeorgia" mktoName="Font" default="Georgia" values="TrebuchetMS,Georgia,Arial,ProximaNova">
Now, technically the font-family for Georgia is: "Georgia,Times,Times New Roman,serif"
But I can't seem to nest a comma-separated list within the value options, which is already a value-separated list. Is there an escape character I can use?
Anyone know?
Solved! Go to Solution.
No one said it would be pretty...
<meta class="mktoList" id="textFontFamily" mktoName="Main Text Font Family" values="Verdana&#x2C;sans-serif,Georgia&#x2C;Times New Roman&#x2C;serif">
No one said it would be pretty...
<meta class="mktoList" id="textFontFamily" mktoName="Main Text Font Family" values="Verdana&#x2C;sans-serif,Georgia&#x2C;Times New Roman&#x2C;serif">
P.S. if you want to hide the messy-looking encoding, the dropdown is narrow enough that if you put a dummy font as the first font that should suffice -- like "Georgia Font Family" and "Verdana Font Family", etc.