Tuesday, July 28, 2009

Web Publishing wk 2

allows the developer to define whether the bg is fixed or scrolls with the document
if you add content to previous - some text to produce a scrolling effect
the bg image fills the element and the bg image scrolls with the text
if add
background-attachment:fixed;
text appears to scroll over the background - be careful when using
can make text hard to read

background-attachment:scroll;
behaves as default

background-attachment:inherit;
will inherit bg attach properties value from its parent


bg attach by default will not inherit properties from its parent unless it is specifically specified

No comments:

Post a Comment