On May 1, 2007, at 2:40 PM, John Horner wrote:
Well perhaps your second point is valid (and well formed) but this
example:
body { background: url('image.gif')no-repeat top }
isn't just about cross-browser compatiblity. Surely without the
whitespace, it's actually invalid CSS? The same as
I recently came across two niggling CSS errors:
1)
body { background: url('image.gif')no-repeat top }
Here, the coder has left no whitespace after the URL in the shorthand
background declaration.
Firefox is OK with it, IE doesn't display the image.
2)
#right navbar
It's CSS validator. It doesn't validate cross-browser
compatability or the logic (or existence of) of HTML tags.
Well perhaps your second point is valid (and well formed) but this
example:
body { background: url('image.gif')no-repeat top }
isn't just about cross-browser compatiblity.