ZVON > References > CSS2 Reference |
Intro / Search / ZVON |
Property: | background-position |
Inherited: | no |
Value: | [ [ <percentage> | <length> ]{1,2} | [ [top | center | bottom] || [left | center | right] ] ] | inherit |
Initial: | 0% 0% |
Applies to: | block-level and replaced elements |
Media: | visual |
Percentages: | refer to the size of the box itself |
<AAA> <BBB>Try to scroll window.</BBB> <BBB>Can you still see the pictures?</BBB> <BBB>bbbb</BBB> <BBB>cccc</BBB> <BBB>dddd</BBB> <BBB>eeee</BBB> <BBB>ffff</BBB> <BBB>gggg</BBB> <BBB>hhhh</BBB> <BBB>iiii</BBB> <BBB>jjjj</BBB> <BBB>Can you still see the pictures?</BBB> </AAA> |
View AAA {background-image:url("../Pictures/zvon.gif")} AAA {background-repeat:repeat-x} AAA {background-position: top} BBB {display:block; padding: 40px} |
<AAA> <BBB>Try to scroll window.</BBB> <BBB>Can you still see the pictures?</BBB> <BBB>bbbb</BBB> <BBB>cccc</BBB> <BBB>dddd</BBB> <BBB>eeee</BBB> <BBB>ffff</BBB> <BBB>gggg</BBB> <BBB>hhhh</BBB> <BBB>iiii</BBB> <BBB>jjjj</BBB> <BBB>Can you still see the pictures?</BBB> </AAA> |
View AAA {background-image:url("../Pictures/zvon.gif")} AAA {background-repeat:repeat-x} AAA {background-position: top} AAA {background-attachment: fixed} BBB {display:block; padding: 40px} |