Richard Grevers wrote:
On 8/11/05, Bruce Gilbert <[EMAIL PROTECTED]> wrote:
I have an image that I want tile both verticall and horizontally so I
declare it in CSS as :
background-image: url(/test/images/BG_tile.gif);background-repeat:
repeat-y repeat-x;
which works just fine, but CSS validator gives parse error and says
too many values. Is this not the proper way to so this?
background-repeat:repeat;
(or you could just not decalre it, bvecause I've yet to see a browser
where it isn't the default setting.)
Which is good, because such a browser would be non-conformant. The
spec requires the default value to be "repeat". See
<http://www.w3.org/TR/CSS21/colors.html#background-properties>. I
also wanted to point to the spec because the original question was
about proper syntax. The spec is the authoritative source for those
sorts of questions, for those who don't want to wait for an answer on
the list.
--
-Adam Kuehn
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/