Re: [css3-background] Background-attachment and a new suggestion

Perhaps you could clarify what you want to do?  with images perhaps?


you said
>>What I was looking for is basically this: a background-attachment 
>>that mimics "fixed" except for the bit where it stays on the same 
>>place relative to the viewport.

my understanding of the spec is this:
fixed:  forces image to remain in same position in viewport (that is, 
it doesn't move around in the frame of the browser window).  an 
example is the grass at the bottom of the page on the "outdoor" theme 
at http://www.mikematas.com/blog/.
scroll:  image is attached to whatever element it is set for.  when 
the viewport is scrolled, the image moves, but if the element is 
scrolled, the image stays fixed
local: image moves when either it's element is scrolled, or when the 
viewport is scrolled.

Forgive me if I'm being nearsighted or something, but I don't see any 
other options.  There are two things to be set: the movement when the 
element in question scrolls internally, and the movement when the 
element in question scrolls around the page.  there are only 4 
different ways to do this.  three are available, and the fourth, 
moving the image when it's element is scrolled internally, but not 
when the element moves around the page, makes no sense, because the 
image would get left behind it's element.

--The ArcicMac

Received on Thursday, 28 July 2005 15:21:49 UTC