View Single Post
Old 02-01-2011, 10:43 AM   #8
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by Valloric View Post
"background: url..." is valid, but I'll have to check the CSS specs to see if whitespace is allowed between the colon and the "src".
Actually, as cuthbert19 says, the spec lists "background-color", but not "background" (or "background-image"), which means it is not supported. Although it is strictly not an error, because in CSS unsupported properties are just ignored, so, from an ePUB perspective, it is like a harmless comment (except that it might be recognized by some readers).

As for the space, the CSS spec says:

A declaration is either empty or consists of a property name, followed by a colon (:), followed by a property value. Around each of these there may be white space.
Jellby is offline   Reply With Quote