already quoted

For technical support for all editions of CSE HTML Validator. Includes bug reports.

already quoted

Postby roedygr » Sun Feb 26, 2012 10:41 pm

<span style="font-family:Times New Roman,Times Roman,times,serif">

generates an error message
The font family name "Times New Roman" contains one or more space characters. It is recommended that font family names that contain space characters be enclosed in quotation marks.

How can you put in it quote marks? It already is. I googled hoping to find some sample syntax but came up blank.
User avatar
roedygr
Rank V - Professional
Rank V - Professional
 
Posts: 249
Joined: Fri Feb 17, 2006 6:22 am
Location: Victoria BC Canada

Re: already quoted

Postby roedygr » Sun Feb 26, 2012 10:52 pm

I experimented and discovered you can use ' ' inside " ". so the error message should ask for single quotes not quotes.
User avatar
roedygr
Rank V - Professional
Rank V - Professional
 
Posts: 249
Joined: Fri Feb 17, 2006 6:22 am
Location: Victoria BC Canada

Re: already quoted

Postby Albert Wiersch » Mon Feb 27, 2012 11:29 am

Hello,

Thanks for the suggestion.

I've changed the message to this, when checking "style" attributes (the new part is in bolded blue):
The font family name "Times New Roman" contains one or more space characters. It is recommended that font family names that contain space characters be enclosed in quotation marks. For "style" attributes, use single quotes when the attribute value is in double quotes and vice versa. This message is displayed up to 3 times.
Image
Albert Wiersch
User avatar
Albert Wiersch
Site Admin
Site Admin
 
Posts: 2435
Joined: Sat Dec 11, 2004 10:23 am
Location: Near Dallas, TX


Return to CSE Tech Support

Who is online

Users browsing this forum: Google [Bot] and 1 guest