0

I am facing, the font-family issue in Chrome browser. while applying the font-family "arial black", the chrome parsing the double quotes with the string. so it applies like below.

 style="font-family:"arial black";padding-left:10px;" 

After saved, while reading the content, it is throwing the parsing issue.

Note: The font-family not parsed properly.

 style="font-family:"

Thanks,

  • so sounds like you need to deal with nested quotes – epascarello Jun 13 '17 at 12:58
  • Possible duplicate of [Do I need to wrap quotes around font family names in CSS?](https://stackoverflow.com/questions/7638775/do-i-need-to-wrap-quotes-around-font-family-names-in-css) – nramirez Jun 13 '17 at 13:34

1 Answers1

1

try using a single quote
style="font-family:'arial black'; padding:15px"

riyaz-ali
  • 8,677
  • 2
  • 22
  • 35
  • By default Chrome browser apply the double qoutes."arial black", if the font have double words. The problem only in Chrome browser. not in Firefox. – Subramanian K Jun 14 '17 at 09:02
  • See Note 2 on [W3Schools](https://www.w3schools.com/cssref/pr_font_font-family.asp) – riyaz-ali Jun 14 '17 at 09:35