Previous Message
Next Message

background-image

Sent by David Dorward on 30 November 2004 14:02


On Tue, 30 Nov 2004 14:02:01 +0100, Dr. Martin Krumme
[EMAIL-REMOVED]> wrote:
> What is the correct way to define the image in background-image. Is it with 
> quotation-marks or is it without them. 

http://w3.org/TR/CSS2/syndata.html#value-def-uri

The format of a URI value is 'url(' followed by optional whitespace
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 whitespace followed
by ')'. The two quote characters must be the same.

(Although a bug in Mac/IE causes that browser to fail to recognise
single quoted URIs)

-- 
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: