At 10:22 AM -0500 7/29/06, [EMAIL PROTECTED] wrote:

>Anyone ever notice that if you repeat-x a background image you can only
>background position that image on the y coordinate and vice versa - so
>when you repeat-y you can position x but the y is useless (defaults to 0).

    Actually, the background image is positioned exactly as you want 
it (assuming you've written your CSS properly, which I'll assume 
since you didn't provide an example).  It is then repeated along the 
axis you specify-- but it's repeated in both directions.  So if you 
set 'repeat-y' then it repeats both up and down from its position, as 
set by 'background-position'.
    This might seem like a pointless distinction, except it does 
matter.  If you center an image (50% 50%) and repeat it vertically, 
the repeated pattern will be visually centered.  If the 'y' value 
were ignored (as in 50% 0), then the pattern would be visually 
"top-justified", for lack of a better term.
    There are no values such as 'repeat-down' or 'repeat-right', which 
is what I assume you're seeking.

-- 
Eric A. Meyer (http://meyerweb.com/eric/), List Chaperone
"CSS is much too interesting and elegant to be not taken seriously."
   -- Martina Kosloff (http://mako4css.com/)
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to