chris wrote:
> I'm trying to position a background image vertically - I want it to
> start tiling on the y-axis at 520px from the top. 
> 
> http://www.mosshead.com/tests/backgroundissue.html

Chris,

This is the correct behaviour for CSS 2.1 [1] There's an example on that 
page that illustrates this issue - the image is tiled along the axis, 
nothing more.

I've also just noticed that the 'Big M' (sorry Eric! :) )addressed this 
a few days ago [2], too...

[1] http://www.w3.org/TR/CSS21/colors.html#background-properties
[2] http://archivist.incutio.com/viewlist/css-discuss/77605


> 
> another oddity is that the background image on the wrapper div only
> displays in firefox with a border applied to it. however the vertical
> positioning issue is cross-browser.
> 

I think that this could be a case of the 'collapsing margins' [3]. If 
you add a top padding of 30px to the #wrapper container, and remove the 
top margin on #page, you'll see the issue resolved. (Alternatively, you 
*could* add a top padding of 1px to the #wrapper container, and adjust 
the top margin on #page as required!)

[3] http://css-discuss.incutio.com/?page=CollapsingMargin

cheers,

Stuart

______________________________________________________________________
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