Page 1 of 1

The font family name must be enclosed in quotes

Posted: Fri Nov 07, 2008 3:10 pm
by RSteinwand
There seems to be a bug here:

<p style="text-align:center;font-family:font-family:'Courier New',Courier,monospace"><b>Username: </b><br /><b>Password: </b></p>

The font family name "font-family:'Courier New'" must be enclosed in quotation marks (single or double) because the name contains spaces, special characters, or doesn't begin with an alphabetic character.

Posted: Fri Nov 07, 2008 3:37 pm
by RSteinwand
Also this related another warning from the same line:

<p style="text-align:center;font-family:font-family:'Courier New',Courier,monospace"><b>Username: </b><br /><b>Password: </b></p>

The following typeface may not be available on a significant number of browsers: "font-family:'Courier New'". Not recognized at all (check spelling): "font-family:'Courier New'".

Is this still the case? Maybe the chart here best answers that question:
http://nishizhen.cn/80reilly/webdesign/ ... h03_02.htm

Looks like Unix and Mac may not have it. Is that a significant number? I'm guessing less than 5% of our users are on mac/unix/linux.

Sorry to be so fussy, but I wasn't aware of this until I researched it more. I doubt we have many Mac users let alone Unix/Linux.

Re: The font family name must be enclosed in quotes

Posted: Fri Nov 07, 2008 4:20 pm
by Albert Wiersch
RSteinwand wrote:There seems to be a bug here:

<p style="text-align:center;font-family:font-family:'Courier New',Courier,monospace"><b>Username: </b><br /><b>Password: </b></p>

The font family name "font-family:'Courier New'" must be enclosed in quotation marks (single or double) because the name contains spaces, special characters, or doesn't begin with an alphabetic character.
Hello,

Try changing it to this (remove the extra "font-family:" text):
<p style="text-align:center;font-family:'Courier New',Courier,monospace"><b>Username: </b><br /><b>Password: </b></p>

Posted: Mon Nov 10, 2008 7:57 am
by RSteinwand
Oh crap. Didn't see that.

Thanks.