MudGuard: background-attachment im Firefox

Beitrag lesen

Hi,

Es funktioniert soweit auch ganz gut, mein einzigstes Problem ist das der Firefox anscheinend mit einen background-attachment auf einem div Element nicht klar kommt....

Hm. Sicher? Oder macht er es nur so, wie vorgesehen?

If a background image is specified, this property specifies whether it is
  fixed with regard to the viewport ('fixed') or scrolls along with the
  document ('scroll').

fixed bezieht sich also auf den Viewport, NICHT auf das Element, in dem sich das Hintergrundbild befindet.

Even if the image is fixed, it is still only visible when it is in the
  background or padding area of the element. Thus, unless the image is
  tiled ('background-repeat: repeat'), it may be invisible.

Das Bild könnte also unsichtbar sein.

If the background image is fixed within the viewport (see the
  'background-attachment' property), the image is placed relative to the
  viewport instead of the element's padding area.

Die Position bezieht sich auf den Viewport.

'background-position'
      Value:   [ [<percentage> | <length> ]{1,2} | [ [top | center | bottom] || [left | center | right] ] ] | inherit
      Initial:   0% 0%

Da Du keine andere Position angegeben hast, befindet sich das Hintergrundbild also links oben im Viewport.
Da das Bild sich auch nicht wiederholen soll, ist es also je nach Position Deines #content-Elements und der Größe des Bildes nicht sichtbar.

cu,
Andreas

--
MudGuard? Siehe http://www.Mud-Guard.de/
Fachfragen per E-Mail halte ich für unverschämt und werde entsprechende E-Mails nicht beantworten. Für Fachfragen ist das Forum da.