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

mod rewrite - Using "?" when rewriting the URL -

.htaccess: Transfer name to index.php if not directory public -

Admob integration with pygame in android -