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

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -