css - Why are some properties of my style object being ignored in ng-style? -
i have style object in controller:
p: { 'font-family': 'lucida grande\', \'lucida sans unicode\', helvetica, arial, verdana, sans-serif', 'margin': '0' }
only 'margin' honored (in chrome dev tools, 'margin' found in 'styles' list in 'elements' section). see issue font-family i've specified?
try this:
'font-family': '\'lucida grande\', \'lucida sans unicode\', helvetica, arial, verdana, sans-serif',
it may because need opening apostrophe '
before lucida grande, 1 there not serve purpose.
Comments
Post a Comment