Layer-Problem mit IE7 bei 'position: fixed'
Kaspar
- browser
Guten Tag
Die folgende Seite funktioniert bei den meisten Browsern einwandfrei, doch der Internet Explorer 7 lässt das CSS-Menü hinter einem mit "position: fixed"-ausgerichteten Textfeld verschwinden. Das Ziel wäre, dass das Menü den "Willkommens"-Text überdeckt und jeder Menüpunkt erreichbar wäre. Weiss jemand Rat bei diesem Problem ? (Ansonsten muss ich wohl einfach noch mehr CSS-Eigenschaften für den IE überschreiben, was auf grossen Bildschirmen dann nicht mehr ideal wirken würde...)
Die Seite: http://www.ksrychenberg.ch/home/infos/index.php
(Das CSS dazu: http://www.ksrychenberg.ch/css/screen.css )
Hinweise:
Das Fenster muss bei grosser Höhe verkleinert werden, damit die Überlappung überhaupt auftreten kann.
Es geht weniger um den eigentlichen (CSS-)Code auf der Seite, sondern eher darum, ob man beim IE7 Einfluss auf die Anzeige-Ebene (so etwas wie z-index) von 'position: fixed;' nehmen kann, was ich bisher nirgends finden konnte. (In den auffindbaren Einträgen ist man bloss froh, dass der IE7 'fixed' endlich unterstützt...)
Vielen Dank !
Kaspar
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.