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.
The font family name must be enclosed in quotes
-
- Rank VI - Professional
- Posts: 596
- Joined: Mon Jun 09, 2008 2:12 pm
- Location: Fargo, ND
-
- Rank VI - Professional
- Posts: 596
- Joined: Mon Jun 09, 2008 2:12 pm
- Location: Fargo, ND
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.
<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.
-
- Site Admin
- Posts: 3785
- Joined: Sat Dec 11, 2004 9:23 am
- Location: Near Dallas, TX
Re: The font family name must be enclosed in quotes
Hello,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.
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>
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
-
- Rank VI - Professional
- Posts: 596
- Joined: Mon Jun 09, 2008 2:12 pm
- Location: Fargo, ND