so it seems that if I assign a font family ending in a number, it wonβt insert
a = document.createElement("div") a.style.fontFamily = "Arial"
and a then
<div style="font-family: Arial; "></div>
BUT
a = document.createElement("div") a.style.fontFamily = "Goudy Bookletter 1911"
and a then
<div></div>
I am sure this is the final number which is the problem. As
a = document.createElement("div") a.style.fontFamily = "Goudy Bookletter blablabla"
and a then
<div style="font-family: 'Goudy Bookletter blablabla'; "></div>
This is mistake? I do it in chrome 16
source share