MudGuard: Horizontale Wiederholung eines Elements

Beitrag lesen

Hi,

_Was_ positionierst Du absolut?
Und hast Du begriffen, dass "absolut" in bezug auf das Mutter-Element gemeint ist?
http://selfhtml.teamone.de/css/eigenschaften/positionierung.htm#position

Leider ist das, was dort steht, falsch.

Bei position:absolute beziehen sich die Koordinaten auf das innerste Eltern-/Großeltern-/Urgroßeltern-/...-Element, welches eine andere Positionierung als static hat.

siehe 1.) http://www.w3.org/TR/REC-CSS2/visuren.html#propdef-position:
absolute
    The box's position (and possibly size) is specified with the 'left', 'right', 'top', and 'bottom' properties. These properties specify offsets with respect to the box's containing block.

siehe 2.) http://www.w3.org/TR/REC-CSS2/visudet.html#containing-block-details:
If the element has 'position: absolute', the containing block is established by the nearest ancestor with a 'position' other than 'static'

cu,
Andreas

--
Der Optimist: Das Glas  ist halbvoll.  - Der Pessimist: Das Glas ist halbleer. - Der Ingenieur: Das Glas ist doppelt so groß wie nötig.
http://mud-guard.de/? http://www.andreas-waechter.de/ http://www.helpers.de/