Re: [css-d] proper syntax for background-repeat x and y?

2005-08-11 Thread Adam Kuehn

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/


[css-d] proper syntax for background-repeat x and y?

2005-08-10 Thread Bruce Gilbert
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?

-- 
::Bruce::
__
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/


Re: [css-d] proper syntax for background-repeat x and y?

2005-08-10 Thread Richard Grevers
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.)
BTW, Topstyle is worth the investment - type a property and it lets
you select from all the valid values for it.
-- 
Richard Grevers
New Plymouth, New Zealand
Orphan Gmail invites free to good homes.
__
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/