Angela French wrote:

> I looked in my CSS files and I have it both ways (single/double quote) in 
> other instances and it works either way.

OK, that's not the cause then; for some reason I mis-remembered
that quotes were not permitted there -- in fact, they are simply
not required :

> 4.3.4 URLs and URIs
> 
> URI values (Uniform Resource Identifiers, see [RFC3986], which includes URLs, 
> URNs, etc) in this specification are denoted by <uri>. The functional 
> notation used to designate URIs in property values is "url()", as in:
> 
> 
> body { background: url("http://www.example.com/pinkish.png";) }
> 
> The format of a URI value is 'url(' followed by optional white space followed 
> by an optional single quote (') or double quote (") character followed by the 
> URI itself, followed by an optional single quote (') or double quote (") 
> character followed by optional white space followed by ')'. The two quote 
> characters must be the same.
> 
> An example without quotes:
> 
> 
> li { list-style: url(http://www.example.com/redball.png) disc }
> 
> Some characters appearing in an unquoted URI, such as parentheses, white 
> space characters, single quotes (') and double quotes ("), must be escaped 
> with a backslash so that the resulting URI value is a URI token: '\(', '\)'.
> 
> Depending on the type of URI, it might also be possible to write the above 
> characters as URI-escapes (where "(" = %28, ")" = %29, etc.) as described in 
> [RFC3986]. 


______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to