twseiten_de: Layer-Problem mit IE7 bei 'position: fixed'

Beitrag lesen

Hallo,

am Beispiel des DIV-Style position hier die Microsoft-Angaben zum IE
von http://msdn2.microsoft.com/en-us/library/ms531140.aspx

Gruss Tom.

position Attribute | position Property

Sets or retrieves the type of positioning used for the object.

SyntaxHTML { position : sPosition }
Scripting [ sPosition = ] object.style.position

Possible ValuessPosition String that specifies or receives one of the following values. static Default. Object has no special positioning; it follows the layout rules of HTML.
absolute Object is positioned relative to parent element's position—or to the body object if its parent element is not positioned—using the top and left properties.
relative Object is positioned according to the normal flow, and then offset by the top and left properties.

The property is read/write for all objects except the following, for which it is read-only: currentStyle. The property has a default value of static. The Cascading Style Sheets (CSS) attribute is not inherited.