<td style="background:url('../image/icon48/goldenfrog.png') transparent no-repeat scroll center left;">
Beta calls it an error.
W3C validator says it is ok.
Could you check out if that is ok?
center left false positive.
-
- Rank V - Professional
- Posts: 367
- Joined: Fri Feb 17, 2006 5:22 am
- Location: Victoria BC Canada
-
- Site Admin
- Posts: 3785
- Joined: Sat Dec 11, 2004 9:23 am
- Location: Near Dallas, TX
Hello,
It seems like the 'background-position' part of the 'background' property is at question. In your CSS this is "center left".
CSS 2.1 says 'background-position' can be:
[ [ <percentage> | <length> | left | center | right ] [ <percentage> | <length> | top | center | bottom ]? ] | [ [ left | center | right ] || [ top | center | bottom ] ] | inherit
With the relevant part:
[ left | center | right ] || [ top | center | bottom ]
Your CSS should be correct because "||" means one or more of the separated options must occur, in any order.
So it looks like this is a bug in CSE HTML Validator. I've fixed this in v8.9913.
It seems like the 'background-position' part of the 'background' property is at question. In your CSS this is "center left".
CSS 2.1 says 'background-position' can be:
[ [ <percentage> | <length> | left | center | right ] [ <percentage> | <length> | top | center | bottom ]? ] | [ [ left | center | right ] || [ top | center | bottom ] ] | inherit
With the relevant part:
[ left | center | right ] || [ top | center | bottom ]
Your CSS should be correct because "||" means one or more of the separated options must occur, in any order.
So it looks like this is a bug in CSE HTML Validator. I've fixed this in v8.9913.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
-
- Rank V - Professional
- Posts: 367
- Joined: Fri Feb 17, 2006 5:22 am
- Location: Victoria BC Canada