z-Index geht nicht unter Internet Explorer!

MortiferX

Cadet 2nd Year
Registriert
Feb. 2009
Beiträge
25
Hallo,

gleich vorweg, ich bin ziemlich angenervt gerade von diesem Mistding von IE. Den sollte man verbieten, der kommt ja mit gar nichts zurecht, wogegen Firefox selbst noch grobe Codingsfehler akzeptiert.
Es geht um den Z-Index. In Firefox klappt alles perfekt, in IE, geht gar nichts.

Hier mal in mein Code:
HTML:
<div id="header">
  	<div class="oneColFixCtr" id="slider-frame"><iframe src="home-slider.html" id="iframe-top" name="iframe-top" frameborder="0" scrolling="no"></iframe>
    </div>
    <div class="oneColFixCtr" id="navigation">
     <div class="index" id="navi01">
     
      	<a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Navi-Button01','','images/Button02.jpg',1)"><div class="index" id="navi-button01"></div></a>
        <img src="images/Button01.jpg" name="Navi-Button01" width="106" height="30" id="Navi-Button01" />
        
        <a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Navi-Button02','','images/Button02.jpg',1),navi01_on()"><div class="index" id="navi-button02"></div></a>
        <img src="images/Button01.jpg" name="Navi-Button02" width="104" height="30" id="Navi-Button02" />
        
        <a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Navi-Button03','','images/Button02.jpg',1),navi02_on()"><div class="index" id="navi-button03"></div></a>
        <img src="images/Button01.jpg" name="Navi-Button03" width="88" height="30" id="Navi-Button03" />
        
        <a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Navi-Button04','','images/Button02.jpg',1),navi03_on()"><div class="index" id="navi-button04"></div></a>
        <img src="images/Button01.jpg" name="Navi-Button04" width="88" height="30" id="Navi-Button04" />
        
        <a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Navi-Button05','','images/Button02.jpg',1),navi04_on()"><div class="index" id="navi-button05"></div></a>
        <img src="images/Button01.jpg" name="Navi-Button05" width="114" height="30" id="Navi-Button05" />
        
        <a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Navi-Button06','','images/Button02.jpg',1),navi05_on()"><div class="index" id="navi-button06"></div></a>
        <img src="images/Button01.jpg" name="Navi-Button06" width="80" height="30" id="Navi-Button06" />
        
        <a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Navi-Button07','','images/Button02.jpg',1),navi06_on()"><div class="index" id="navi-button07"></div></a>
        <img src="images/Button01.jpg" name="Navi-Button07" width="80" height="30" id="Navi-Button07" />
        
        <a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Navi-Button08','','images/Button02.jpg',1)"><div class="index" id="navi-button08"></div></a>
        <img src="images/Button01.jpg" name="Navi-Button08" width="122" height="30" id="Navi-Button08" />
        
        <a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Navi-Button09','','images/Button02.jpg',1)"><div class="index" id="navi-button09"></div></a>
        <img src="images/Button01.jpg" name="Navi-Button09" width="84" height="30" id="Navi-Button09" />
        
      </div>
      <div class="index" id="navi02">
      	<table width="912" height="20" border="0" align="center" cellspacing="5">
  		 <tr>
    		<td width="105" >Startseite</td>
    		<td width="102">Schriften</td>
    		<td width="85">Bilder</td>
    		<td width="85">Musik</td>
    		<td width="111">Über mich</td>
    		<td width="77">Shop</td>
    		<td width="77">Links</td>
    		<td width="118">Gästebuch</td>
    		<td width="84">Kontakt</td>
 		 </tr>
		</table>
      </div>
    </div>
  <!-- end #header -->
  </div>

Und dazu noch die CSS:

HTML:
.index #header {
	height: 380px;
	padding-top: 0;
	padding-right: 10px;
	padding-bottom: 0;
	padding-left: 20px;
}
.index #container #header #navigation {
	width: 100%;
	position: absolute;
	right: 0px;
	text-align: right;
	height: 30px;
	top: 0px;
}
.index #container #header #navigation #navi01 {
	height: 30px;
	width: 900px;
	position: absolute;
	font-family: Tahoma, Geneva, sans-serif;
	font-size: 14px;
	top: 0px;
	right: 8px;
}
.index #container #header #navigation #navi02 table{
	text-align: center;
	position: absolute;
	top: 0px;
	color: #FFF;
	font-family: Tahoma, Geneva, sans-serif;
	font-weight: bold;
	font-size: 14px;
	
}
#navi-button01 {
	position: absolute;
	height: 28px;
	width: 102px;
	top: 0px;
	z-index: 102;
	left: 2px;
	border-top-width: 2px;
	border-right-width: 2px;
	border-bottom-width: 2px;
	border-left-width: 2px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: none;
	border-left-style: solid;
	border-top-color: #333;
	border-right-color: #333;
	border-bottom-color: #333;
	border-left-color: #333;
}
#navi-button02 {
	position: absolute;
	height: 28px;
	width: 100px;
	top: 0px;
	z-index: 1;
	left: 112px;
	border-top-width: 2px;
	border-right-width: 2px;
	border-bottom-width: 2px;
	border-left-width: 2px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: none;
	border-left-style: solid;
	border-top-color: #333;
	border-right-color: #333;
	border-bottom-color: #333;
	border-left-color: #333;
}
#navi-button03 {
	position: absolute;
	height: 28px;
	width: 84px;
	top: 0px;
	z-index: 1;
	left: 220px;
	border-top-width: 2px;
	border-right-width: 2px;
	border-bottom-width: 2px;
	border-left-width: 2px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: none;
	border-left-style: solid;
	border-top-color: #333;
	border-right-color: #333;
	border-bottom-color: #333;
	border-left-color: #333;
}
#navi-button04 {
	position: absolute;
	height: 28px;
	width: 84px;
	top: 0px;
	z-index: 1;
	left: 312px;
	border-top-width: 2px;
	border-right-width: 2px;
	border-bottom-width: 2px;
	border-left-width: 2px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: none;
	border-left-style: solid;
	border-top-color: #333;
	border-right-color: #333;
	border-bottom-color: #333;
	border-left-color: #333;
}
#navi-button05 {
	position: absolute;
	height: 28px;
	width: 110px;
	top: 0px;
	z-index: 1;
	left: 404px;
	border-top-width: 2px;
	border-right-width: 2px;
	border-bottom-width: 2px;
	border-left-width: 2px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: none;
	border-left-style: solid;
	border-top-color: #333;
	border-right-color: #333;
	border-bottom-color: #333;
	border-left-color: #333;
}
#navi-button06 {
	position: absolute;
	height: 28px;
	width: 76px;
	top: 0px;
	z-index: 1;
	left: 522px;
	border-top-width: 2px;
	border-right-width: 2px;
	border-bottom-width: 2px;
	border-left-width: 2px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: none;
	border-left-style: solid;
	border-top-color: #333;
	border-right-color: #333;
	border-bottom-color: #333;
	border-left-color: #333;
}
#navi-button07 {
	position: absolute;
	height: 28px;
	width: 76px;
	top: 0px;
	z-index: 1;
	left: 606px;
	border-top-width: 2px;
	border-right-width: 2px;
	border-bottom-width: 2px;
	border-left-width: 2px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: none;
	border-left-style: solid;
	border-top-color: #333;
	border-right-color: #333;
	border-bottom-color: #333;
	border-left-color: #333;
}
#navi-button08 {
	position: absolute;
	height: 28px;
	width: 118px;
	top: 0px;
	z-index: 1;
	left: 690px;
	border-top-width: 2px;
	border-right-width: 2px;
	border-bottom-width: 2px;
	border-left-width: 2px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: none;
	border-left-style: solid;
	border-top-color: #333;
	border-right-color: #333;
	border-bottom-color: #333;
	border-left-color: #333;
}
#navi-button09 {
	position: absolute;
	height: 28px;
	width: 80px;
	top: 0px;
	z-index: 1;
	left: 816px;
	border-top-width: 2px;
	border-right-width: 2px;
	border-bottom-width: 2px;
	border-left-width: 2px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: none;
	border-left-style: solid;
	border-top-color: #333;
	border-right-color: #333;
	border-bottom-color: #333;
	border-left-color: #333;
}

Die #navi-button0x sollen eigentlich ganz vorne sein, damit bei MouseKontakt eine Funktion ausgeführt wird. In FF sind diese auch durch den Z-Index ganz vorne, nur bei IE ist eine Tabelle und das Bild vor dieser leeren DIV, die eben diese Funktionen ausführen soll.
Ich gab jedem Element auch eine Position, wie ich es schon nachgegooglet habe, aber auch das brachte nichts. Spielte zudem schon mit den Z-Index und gab denen auch mal nen höheren Wert, aber das alles führte nur dazu, dass es beinah in FF auch nicht mehr ging.

Gibt es hier keine Standardlösung, wie man das bzgl IE angehen muss, wenn Sachen überlappen?
Wäre um ein Exempel sehr dankbar, denn dieses Problem läuft mir immer wieder über den Weg und ich finde einfach keine Lösung, außer alles umzuschreiben, so dass es der IE auch schluckt, dafür aber mehr Traffic macht... -.-

Nebenbei noch: style="filter:alpha(opacity=60);-moz-opacity:0.6" nimmt der IE auch konsequent nicht an!

Boa, Microsoft sollte sich mal was von ihrer Konkurrenz abschauen,... bzw es auch so umsetzen und nicht nur abschauen, was das Design anbelangt....

Danke schonmal!
LG
Mikey
 
Der Internet Explorer kann z-index: http://www.css4you.de/z-index.html (inkl. Beispiel)

filter:Alpha() ist IMO wie alle filter-Eigenschaften Microsoft-spezifisch und kann nur vom Internet Explorer dargestellt werden:
http://de.selfhtml.org/css/eigenschaften/filter.htm#alpha

-moz-opacity ist IMO Mozilla-spezifisch und funktioniert nur im Firefox: http://www.css4you.de/moz-opacity.html


Haste vielleicht mal 'ne vollständige (X)HTML-Datei, die man checken kann?
Momentan sprechen die case-sensitiven IDs für XHTML, aber die nicht richtig abgeschlossenen IMGs und fehlenden Attribute für HTML.


Probiers vielleicht auch mal mit dem http://validator.w3.org/ . Gerade der Internet Explorer bricht meiner Erfahrung nach schonmal gerne bei fehlerhaften CSS-Dateien die Interpretation ab dem ersten Syntaxfehler ab.



NACHTRAG:

Bzgl. Transparenz und z-index fällt mir gerade noch dieser Code-Schnippsel ein. Der funktioniert im IE und FF gleich gut:
http://www.emanueleferonato.com/200...ox-effect-only-with-css-no-javascript-needed/
 
Zuletzt bearbeitet:
Danke für die Hilfen,

habe nochmal alles durchgecheckt. Dreamweaver meldet mir zwar einige Fehler bei der Browserkompabilität, aber das ist
normal, da ich eben verschiedene Einstellungen für verschiedene Browser gleichzeitig brauche.

Was mir auffiel, ist eine Meldung über z-index. Da hies es, dass bei IE 6 und 7 es zu Überlappungen kommen kann, wenn diese
innerhalb von iframes verwendet werden. Das war aber nicht das Problem, da die z-indexes alle korrekt eingestellt waren. Habe
dann mal länger rumprobiert und die Lösung war recht einfach. Ich hatte für die Navigation-div zwei Unter-Divs; nämlich navi01
und navi02 und die überlappten. Das mochte der IE nicht. Daher habe ich alles jetzt in ein Unter-Div gepackt und diese dann
eben Navi01 genannt. Anscheinend kam da der IE nicht damit zurecht, dass er eben das alles soweit getrennt behandelt, was
die z-indexe anbelangt. Naja jetzt gehts zum Glück. Werde den Code nochmal überfliegen, sollte aber soweit i.O. jetzt sein.


Dannach kam noch das Problem mit der Durchsichtigkeit einiger Elemente. Mozilla nahm die moziallespezifische Einstellung auch
an, doch der IE nahm eben die IE-spezifische nicht an. Das lag aber auch daran, dass der IE Probleme hatte, den Inline-Style
innerhalb einer iFrames-html-Datei auszulesen. Also gab ich nicht dem div innerhalb des iframes die Eigenschaft mit Alpha-
Filter, sondern direkt dem iFrame selbst im Hauptfenster. Zudem musste ich dem Inhalt des iFrames-Htmls bei Body einen
schwarzen Hintergrund geben, da sonst leere Bereiche des iFrames im Hauptfenster unter IE nicht durchsichtig, sondern weis
waren. Wenn es schwarz ist, ist es seltsamerweise durchsichtig unterm IE.

Das war zwar jetzt nen großes Problem, aber habs mit viel Mühe geschafft es zu lösen. Werde mir die Links von dir dennoch
anschaun, um für die Zukunft etwas vorzusorgen. Ich hoffe ja nur, dass NetScape und Safari nicht arg große Probleme machen
werden. Aber naja, mal schaun.


Danke nochmal.

LG
Mikey

PS: Hier ist die vollständige index.html Datei; wenn du diese meinst. Es sollte eigentlich keine Probleme mehr geben, aber
vielleicht findet ein erfahrerner WebDisigner noch etwas. ^^
HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Unbenanntes Dokument</title>

<link href="css/main.css" rel="stylesheet" type="text/css" /> 			<!-- CSS-List00 - maincss-->
<link href="css/navi.css" rel="stylesheet" type="text/css" />			<!-- CSS-List01 - navicss-->
<link href="css/mainframe.css" rel="stylesheet" type="text/css" />		<!-- CSS-List02 - mainframecss-->
<script src="scripts/navigation.js" type="text/javascript"></script>
<script src="scripts/imageswap.js" type="text/javascript"></script>
<script src="scripts/onload.js" type="text/javascript"></script>
</head>

<body class="index" onload="winload()">
<div id="top-div"><img src="images/Banner.gif" width="1000" height="120" /></div>
<div id="container" onmouseout="navi_all_off()">


  <div id="header">
  
  
  	<div class="oneColFixCtr" id="slider-frame">
    
    	<iframe src="navigation/Navi-iframe01.html" id="naviiframe01" name="naviiframe01" frameborder="0" scrolling="no" style="filter:alpha(opacity=80);-moz-opacity:0.8" onmouseover="navi01_on(),MM_swapImage('Navi-Button02','','images/Button02.jpg',1)" onmouseout="MM_swapImgRestore()"></iframe>
        
		<iframe src="navigation/Navi-iframe02.html" id="naviiframe02" name="naviiframe02" frameborder="0" scrolling="no" style="filter:alpha(opacity=80);-moz-opacity:0.8" onmouseover="navi02_on(),MM_swapImage('Navi-Button03','','images/Button02.jpg',1)" onmouseout="MM_swapImgRestore()"></iframe>
        
		<iframe src="navigation/Navi-iframe03.html" id="naviiframe03" name="naviiframe03" frameborder="0" scrolling="no" style="filter:alpha(opacity=80);-moz-opacity:0.8" onmouseover="navi03_on(),MM_swapImage('Navi-Button04','','images/Button02.jpg',1)" onmouseout="MM_swapImgRestore()"></iframe>
        
		<iframe src="navigation/Navi-iframe04.html" id="naviiframe04" name="naviiframe04" frameborder="0" scrolling="no" style="filter:alpha(opacity=80);-moz-opacity:0.8" onmouseover="navi04_on(),MM_swapImage('Navi-Button05','','images/Button02.jpg',1)" onmouseout="MM_swapImgRestore()"></iframe>
        
		<iframe src="navigation/Navi-iframe05.html" id="naviiframe05" name="naviiframe05" frameborder="0" scrolling="no" style="filter:alpha(opacity=80);-moz-opacity:0.8" onmouseover="navi05_on(),MM_swapImage('Navi-Button06','','images/Button02.jpg',1)" onmouseout="MM_swapImgRestore()"></iframe>
        
		<iframe src="navigation/Navi-iframe06.html" id="naviiframe06" name="naviiframe06" frameborder="0" scrolling="no" style="filter:alpha(opacity=80);-moz-opacity:0.8" onmouseover="navi06_on(),MM_swapImage('Navi-Button07','','images/Button02.jpg',1)" onmouseout="MM_swapImgRestore()"></iframe>
        
		<iframe src="slider/Startseite-slider.html" id="iframe-top" name="iframe-top" frameborder="0" scrolling="no"onmouseover="navi_all_off()"></iframe>
  	</div>
    <div class="oneColFixCtr" id="navigation">
     <div class="index" id="navi01">
     
     
     
     <table width="912" height="20" border="0" align="center" cellspacing="5">
  		 <tr>
    		<td width="105" id="NaviName01">Startseite</td>
    		<td width="102" id="NaviName02">Schriften</td>
    		<td width="85" id="NaviName03">Bilder</td>
    		<td width="85" id="NaviName04">Musik</td>
    		<td width="111" id="NaviName05">Über mich</td>
    		<td width="77" id="NaviName06">Shop</td>
    		<td width="77" id="NaviName07">Links</td>
    		<td width="118" id="NaviName08">G&auml;stebuch</td>
    		<td width="84" id="NaviName09">Kontakt</td>
 		 </tr>
		</table>
     
      	<a href="#_self" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Navi-Button01','','images/Button02.jpg',1)" onclick="MainNaviButton01()"><div class="index" style="filter:alpha(opacity=00);-moz-opacity:0.0" id="navi-button01"></div></a>
        <img src="images/Button01.jpg" name="Navi-Button01" width="106" height="30" id="Navi-Button01" />
        
        <a href="#_self" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Navi-Button02','','images/Button02.jpg',1),navi01_on()" onclick="MainNaviButton02()"><div class="index" style="filter:alpha(opacity=00);-moz-opacity:0.0" id="navi-button02"></div></a>
        <img src="images/Button01.jpg" name="Navi-Button02" width="104" height="30" id="Navi-Button02" />
        
        <a href="#_self" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Navi-Button03','','images/Button02.jpg',1),navi02_on()" onclick="MainNaviButton03()"><div class="index" style="filter:alpha(opacity=00);-moz-opacity:0.0" id="navi-button03"></div></a>
        <img src="images/Button01.jpg" name="Navi-Button03" width="88" height="30" id="Navi-Button03" />
        
        <a href="#_self" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Navi-Button04','','images/Button02.jpg',1),navi03_on()" onclick="MainNaviButton04()"><div class="index" style="filter:alpha(opacity=00);-moz-opacity:0.0" id="navi-button04"></div></a>
        <img src="images/Button01.jpg" name="Navi-Button04" width="88" height="30" id="Navi-Button04" />
        
        <a href="#_self" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Navi-Button05','','images/Button02.jpg',1),navi04_on()" onclick="MainNaviButton05()"><div class="index" style="filter:alpha(opacity=00);-moz-opacity:0.0" id="navi-button05"></div></a>
        <img src="images/Button01.jpg" name="Navi-Button05" width="114" height="30" id="Navi-Button05" />
        
        <a href="#_self" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Navi-Button06','','images/Button02.jpg',1),navi05_on()" onclick="MainNaviButton06()"><div class="index" style="filter:alpha(opacity=00);-moz-opacity:0.0" id="navi-button06"></div></a>
        <img src="images/Button01.jpg" name="Navi-Button06" width="80" height="30" id="Navi-Button06" />
        
        <a href="#_self" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Navi-Button07','','images/Button02.jpg',1),navi06_on()" onclick="MainNaviButton07()"><div class="index" style="filter:alpha(opacity=00);-moz-opacity:0.0" id="navi-button07"></div></a>
        <img src="images/Button01.jpg" name="Navi-Button07" width="80" height="30" id="Navi-Button07" />
        
        <a href="#_self" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Navi-Button08','','images/Button02.jpg',1)" onclick="MainNaviButton08()"><div class="index" style="filter:alpha(opacity=00);-moz-opacity:0.0" id="navi-button08"></div></a>
        <img src="images/Button01.jpg" name="Navi-Button08" width="122" height="30" id="Navi-Button08" />
        
        <a href="#_self" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Navi-Button09','','images/Button02.jpg',1)" onclick="MainNaviButton09()"><div class="index" style="filter:alpha(opacity=00);-moz-opacity:0.0" id="navi-button09"></div></a>
        <img src="images/Button01.jpg" name="Navi-Button09" width="84" height="30" id="Navi-Button09" />
       
      </div>
    </div>
  <!-- end #header -->
  </div>
  <div id="mainContent">
  	<div id="main-left" style="filter:alpha(opacity=70); -moz-opacity:0.7">
    <iframe src="" id="iframemainleft" name="iframemainleft" frameborder="0" scrolling="no">
    </iframe>
    </div>
<!-- end #mainContent --></div>
  <div id="footer" style="filter:alpha(opacity=70);-moz-opacity:0.7">
  </div>
    <div class="index" id="copyright">Copyright &copy; 2009. Severin Feagil. All Rights Reserved</div>
    <div class="index" id="impressium">Raum f&uuml;r den Inhalt von  class "index" id "impressium"</div>
<!-- end #footer -->
<!-- end #container --></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</body>
</html>

Dazu die main.css Datei:
HTML:
@charset "utf-8";
body {
	font: 100% Verdana, Arial, Helvetica, sans-serif;
	margin: 0; /* Es empfiehlt sich, margin (Rand) und padding (Auffüllung) des Body-Elements auf 0 einzustellen, um unterschiedlichen Browser-Standardeinstellungen Rechnung zu tragen. */
	padding: 0;
	text-align: center; /* Hierdurch wird der Container in IE 5*-Browsern zentriert. Dem Text wird dann im #container-Selektor die Standardausrichtung left (links) zugewiesen. */
	color: #000000;
	background-image: url(../images/Hintergrund.jpg);
	background-attachment: scroll;
	background-repeat: repeat-y;
	background-position: center top;
}
.index #container {
	margin: 0 auto; /* Durch automatische Ränder (in Verbindung mit einer Breite) wird die Seite zentriert. */
	text-align: left;
	position: relative;
	top: 40px;
	width: 912px;
}
.index #header {
	height: 380px;
	padding-top: 0;
	padding-right: 10px;
	padding-bottom: 0;
	padding-left: 20px;
}
.index #mainContent {
	padding-top: 20px;
	padding-right: 0px;
	padding-bottom: 20px;
	padding-left: 0px;
}
.index #footer {
	padding-top: 0;
	padding-right: 10px;
	padding-bottom: 0;
	padding-left: 10px;
	background-color: #000;
	border: 1px solid #333;
	position: absolute;
	width: 890px;
	left: 0px;
	height: 30px;
}
img {
	border-bottom-style:none;
	border-top-style:none;
	border-right-style:none;
	border-left-style:none;
}
.index #top-div {
	width: 100%;
	height: 120px;
	position: relative;
	margin-right: auto;
	margin-left: auto;
	top: 20px;
}
#slider-frame {
	position: absolute;
	width: 900px;
	top: 30px;
	text-align: left;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 18px;
	color: #FFF;
	letter-spacing: 3px;
	left: 0px;
	height: 350px;
	border: 6px solid #666;
}
#iframe-top {
	height: 350px;
	width: 900px;
	z-index: 100;
	position: absolute;
}
#copyright {
	position: absolute;
	left: 0px;
	width: 400px;
	height: 30px;
	padding-left: 10px;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 14px;
	line-height: 30px;
	color: #FFF;
}
#impressium {
	position: absolute;
	right: 0px;
	width: 400px;
	height: 30px;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 16px;
	text-align: right;
	line-height: 30px;
	color: #FFF;
	padding-right: 10px;
}
#iframemainleft {
	width: 600px;
	height: auto;
}
.index #container #mainContent #main-left {
	width: 600px;
	left: 0px;
	top: 0px;
	background-color: #000;
	border: 1px solid #333;
	height: 100%;
}

Und letztendlich die wichtigste Datei für die Navi, mit der ich Probleme hatte; navi.css:
HTML:
@charset "utf-8";
body {
	margin: 0;
	padding: 0;
}
.index #SubNavi-Div01 {
	width: 100px;
	height: 230px;
	position: absolute;
	z-index: 1;
	left: 0px;
	border-right-width: 2px;
	border-bottom-width: 2px;
	border-left-width: 2px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-right-color: #333;
	border-bottom-color: #333;
	border-left-color: #333;
	top: 0px;
}
.index #SubNavi-Div02 {
	width: 84px;
	height: 230px;
	position: absolute;
	z-index: 1;
	left: 0px;
	border-right-width: 2px;
	border-bottom-width: 2px;
	border-left-width: 2px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-right-color: #333;
	border-bottom-color: #333;
	border-left-color: #333;
	top: 0px;
}
.index #SubNavi-Div03 {
	width: 84px;
	height: 230px;
	position: absolute;
	z-index: 1;
	left: 0px;
	border-right-width: 2px;
	border-bottom-width: 2px;
	border-left-width: 2px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-right-color: #333;
	border-bottom-color: #333;
	border-left-color: #333;
	top: 0px;
}
.index #SubNavi-Div04 {
	width: 110px;
	height: 230px;
	position: absolute;
	z-index: 1;
	left: 0px;
	border-right-width: 2px;
	border-bottom-width: 2px;
	border-left-width: 2px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-right-color: #333;
	border-bottom-color: #333;
	border-left-color: #333;
	top: 0px;
}
.index #SubNavi-Div05 {
	width: 76px;
	height: 230px;
	position: absolute;
	z-index: 1;
	left: 0px;
	border-right-width: 2px;
	border-bottom-width: 2px;
	border-left-width: 2px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-right-color: #333;
	border-bottom-color: #333;
	border-left-color: #333;
	top: 0px;
}
.index #SubNavi-Div06 {
	width: 76px;
	height: 230px;
	position: absolute;
	z-index: 1;
	left: 0px;
	border-right-width: 2px;
	border-bottom-width: 2px;
	border-left-width: 2px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-right-color: #333;
	border-bottom-color: #333;
	border-left-color: #333;
	top: 0px;
}
.index #SubNavi p {
	line-height: 0px;
}
#subnavi01 {
	position: absolute;
	left: 0px;
	top: 6px;
	z-index: 4;
	height: 25px;
	width: 100%;
	font-family: Tahoma, Geneva, sans-serif;
	color: #FFF;
	text-decoration: none;
	padding-left: 5px;
	font-size: 12px;
	line-height: 25px;
	font-weight: bold;
}
#SubNavi01 {
	position: absolute;
	height: 25px;
	width: 100%;
	left: 0px;
	top: 6px;
	z-index: 2;
}
#subnavi02 {
	position: absolute;
	left: 0px;
	top: 31px;
	z-index: 4;
	height: 25px;
	width: 100%;
	font-family: Tahoma, Geneva, sans-serif;
	color: #FFF;
	text-decoration: none;
	padding-left: 5px;
	font-size: 12px;
	line-height: 25px;
	font-weight: bold;
}
#SubNavi02 {
	position: absolute;
	height: 25px;
	width: 100%;
	left: 0px;
	top: 31px;
	z-index: 2;
}
#subnavi03 {
	position: absolute;
	left: 0px;
	top: 56px;
	z-index: 4;
	height: 25px;
	width: 100%;
	font-family: Tahoma, Geneva, sans-serif;
	color: #FFF;
	text-decoration: none;
	padding-left: 5px;
	font-size: 12px;
	line-height: 25px;
	font-weight: bold;
}
#SubNavi03 {
	position: absolute;
	height: 25px;
	width: 100%;
	left: 0px;
	top: 56px;
	z-index: 2;
	
}
#subnavi04 {
	position: absolute;
	left: 0px;
	top: 81px;
	z-index: 4;
	height: 25px;
	width: 100%;
	font-family: Tahoma, Geneva, sans-serif;
	color: #FFF;
	text-decoration: none;
	padding-left: 5px;
	font-size: 12px;
	line-height: 25px;
	font-weight: bold;
}
#SubNavi04 {
	position: absolute;
	height: 25px;
	width: 100%;
	left: 0px;
	top: 81px;
	z-index: 2;
}
#subnavi05 {
	position: absolute;
	left: 0px;
	top: 106px;
	z-index: 4;
	height: 25px;
	width: 100%;
	font-family: Tahoma, Geneva, sans-serif;
	color: #FFF;
	text-decoration: none;
	padding-left: 5px;
	font-size: 12px;
	line-height: 25px;
	font-weight: bold;
}
#SubNavi05 {
	position: absolute;
	height: 25px;
	width: 100%;
	left: 0px;
	top: 106px;
	z-index: 2;
}
#subnavi06 {
	position: absolute;
	left: 0px;
	top: 131px;
	z-index: 4;
	height: 25px;
	width: 100%;
	font-family: Tahoma, Geneva, sans-serif;
	color: #FFF;
	text-decoration: none;
	padding-left: 5px;
	font-size: 12px;
	line-height: 25px;
	font-weight: bold;
}
#SubNavi06 {
	position: absolute;
	height: 25px;
	width: 100%;
	left: 0px;
	top: 131px;
	z-index: 2;
}
#subnavi07 {
	position: absolute;
	left: 0px;
	top: 156px;
	z-index: 4;
	height: 25px;
	width: 100%;
	font-family: Tahoma, Geneva, sans-serif;
	color: #FFF;
	text-decoration: none;
	padding-left: 5px;
	font-size: 12px;
	line-height: 25px;
	font-weight: bold;
}
#SubNavi07 {
	position: absolute;
	height: 25px;
	width: 100%;
	left: 0px;
	top: 156px;
	z-index: 2;
}
#subnavi08 {
	position: absolute;
	left: 0px;
	top: 181px;
	z-index: 4;
	height: 25px;
	width: 100%;
	font-family: Tahoma, Geneva, sans-serif;
	color: #FFF;
	text-decoration: none;
	padding-left: 5px;
	font-size: 12px;
	line-height: 25px;
	font-weight: bold;
}
#SubNavi08 {
	position: absolute;
	height: 25px;
	width: 100%;
	left: 0px;
	top: 181px;
	z-index: 2;
}
#subnavi09 {
	position: absolute;
	left: 0px;
	top: 206px;
	z-index: 4;
	height: 25px;
	width: 100%;
	font-family: Tahoma, Geneva, sans-serif;
	color: #FFF;
	text-decoration: none;
	padding-left: 5px;
	font-size: 12px;
	line-height: 25px;
	font-weight: bold;
}
#SubNavi09 {
	position: absolute;
	height: 25px;
	width: 100%;
	left: 0px;
	top: 206px;
	z-index: 2;
}
#subnavi00 {
	position: absolute;
	left: 0px;
	top: 0px;
	z-index: 4;
	height: 6px;
	width: 100%;
	font-family: Tahoma, Geneva, sans-serif;
	color: #FFF;
	text-decoration: none;
	padding-left: 5px;
	font-size: 12px;
	line-height: 25px;
	font-weight: bold;
}
#SubNavi00 {
	position: absolute;
	height: 6px;
	width: 100%;
	left: 0px;
	top: 0px;
	z-index: 2;
}
img {
	border-bottom-style:none;
	border-top-style:none;
	border-right-style:none;
	border-left-style:none;
}
#navigation {
	width: 100%;
	position: absolute;
	right: 0px;
	text-align: right;
	height: 30px;
	top: 0px;
}
#navigation #navi01 {
	height: 30px;
	width: 900px;
	position: absolute;
	top: 0px;
	right: 8px;
	z-index: 1;
	text-align: center;
}
#navigation #navi01 table{
	height: 30px;
	width: 912px;
	position: absolute;
	color: #FFF;
	font-family: Tahoma, Geneva, sans-serif;
	font-weight: bold;
	font-size: 14px;
	left: -4px;
	z-index: 1;
	text-align: center;
}
#navi-button01 {
	position: absolute;
	background-color:#000;
	height: 30px;
	width: 106px;
	top: 0px;
	z-index: 102;
	left: 2px;
}
#Navi-Button01 {
	position: absolute;
	background-color:#000;
	height: 28px;
	width: 102px;
	top: 0px;
	left: 2px;
	border-top-width: 2px;
	border-right-width: 2px;
	border-bottom-width: 2px;
	border-left-width: 2px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: none;
	border-left-style: solid;
	border-top-color: #333;
	border-right-color: #333;
	border-bottom-color: #333;
	border-left-color: #333;
	
}
[.....]
#Navi-Button09 {
	position: absolute;
	background-color:#000;
	height: 28px;
	width: 82px;
	top: 0px;
	left: 816px;
	border-top-width: 2px;
	border-right-width: 2px;
	border-bottom-width: 2px;
	border-left-width: 2px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: none;
	border-left-style: solid;
	border-top-color: #333;
	border-right-color: #333;
	border-bottom-color: #333;
	border-left-color: #333;
	
}
#naviiframe01   {
	width: 104px;
	height: 300px;
	display: none;
	position: absolute;
	z-index: 112;
	left: 116px;
	margin: -6px;
}
#naviiframe02   {
	width: 88px;
	height: 265px;
	display: none;
	top: 0px;
	position: absolute;
	z-index: 102;
	left: 224px;
	margin: -6px;
}
#naviiframe03   {
	width: 88px;
	height: 265px;
	display: none;
	top: 0px;
	position: absolute;
	z-index: 102;
	left: 316px;
	margin: -6px;
}
#naviiframe04   {
	width: 114px;
	height: 265px;
	display: none;
	top: 0px;
	position: absolute;
	z-index: 102;
	left: 408px;
	margin: -6px;
}
#naviiframe05   {
	width: 80px;
	height: 265px;
	display: none;
	top: 0px;
	position: absolute;
	z-index: 102;
	left: 526px;
	margin: -6px;
}
#naviiframe06   {
	width: 80px;
	height: 265px;
	display: none;
	top: 0px;
	position: absolute;
	z-index: 102;
	left: 610px;
	margin: -6px;
}
 
Zuletzt bearbeitet:
Zurück
Oben