Om nah hoo pez nyeetz, Gunnar Bittersmann!
“If a background image is specified, this property [background-attachment] specifies whether it is fixed with regard to the viewport ('fixed') or scrolls along with the containing block ('scroll').”
Möchtest du nun das Hintergrundbild des 'div' am Viewport fixieren oder soll es mit der ganzen Seite miscrollen?
“If an element has a scrolling mechanism […], a 'fixed' background does not move with the element, and a 'scroll' background does not move with the scrolling mechanism.”
Welche Fragen lässt das noch offen?
Bis auf Firefox beherrschen alle aktuellen Versionen der großen Browser auch background-attachment: local;
Nachzulesen im Wiki, wenn der Server-Fehler behoben ist und meine Arbeit im Browser-Cache[1] überlebt hat.
[1] erinnert mich an eine tolle TNG-Folge. Rate, welche.
Matthias
Wer ein Problem beschreiben kann, hat es schon halb gelöst. (Julian Huxley)
