Zum Inhalt springen

Hintergrundfarbe beginnt erst ab Mitte der Webseite

Erstellt am 29. Mai 2007 · 1 Antwort · letzte Antwort am 30. Mai 2007

Tags: HTML & CSS, Frage

bolshi ·

Hallo,
beim aktuellen Projekt beginnt auf den Seiten bei denen ich ein FCE verwende, die Hintergrundfarbe im IE6 erst ab Mitte der Webseite.

CSS vom FCE

.inhalt_fce {
     position:relative;
     padding-top:1em;
     margin:0 auto; 
     width:35em;
     height:  50em;  
     line-height:120%;
     background: #808000;
}

 .container1 {
     position:relative;
     text-align:left;
     width: 16em;
     height: 20em;
     color: #000;
     padding: 0.5em;
     margin: 1em;
     border: 2px dashed #2175bc; */
     border: 2px dashed #000; 
     float:left;
     line-height:2em;
     z-index:10;
 }
 
  .container2 {
     position:relative;
     text-align:left;
     width: 16em;
     height: 22em;
     color: #000;
     padding: 0.5em;
     margin: 1em;
     border: 2px dashed #000; 
     line-height:2em;
     float:left;     
     z-index:10;
 }


  .container3 {
     position:relative;
     text-align:left;
     width: 16em;
     height: 22em;
     color: #000;
     padding: 0.5em;
     margin: 1em;


     border: 2px dashed #000; 
     line-height:2em;
     float:left;
     z-index:10;
 }
 
  .container4 {
     position:relative;
     text-align:left;
     width: 16em;
     height: 22em;
     color: #000;
     padding: 0.5em;
     margin: 1em;
     border: 2px dashed #000; 
     line-height:2em;
     float:left;
     z-index:10;
 }

Relevante Stelle aus dem CSS für das Basis-Template:

...

#rahmen {
	        position:relative;		
		width: 100em;
		margin: 20px auto;  
	
		padding:0;
		text-align: left;		
	}
	#header {
 		margin:0; 
		padding:0;
		background:#436FAC;
		border-top: 1px solid #ffffff;
                border-right: 1px solid #ffffff;
                border-left: 1px solid #ffffff;		
	}	
	#basis1 {
	        position:relative;
		margin:0; 
		padding:0;
		border-left: 1px solid #ffffff;						
	}
	#basis2 {
	        position:relative;
		margin:0; 
		padding:0;		
		background-color: #436FAC;			
	}
	#links {
		position:relative;
		width:15em;
		margin: 0; 
		padding: 0;
		color: #fff;
		background-color: #436FAC;
    		font-size: 110%;	
    		float:left;			
	}
	#rechts {	       
		position:relative;
		width: 15.6em;	
		margin:0; 
		padding:0;
		background: #436FAC;
		font-size: 99%;
		float:right;
		z-index:11;	
		
	}
	#inhalt {
	        position:relative;  	     
	        margin-left: 14em;
                margin-right: 18em;
		
		background-color: #ffc;
		          	
	        z-index:1;	       
	}
...

Verweis zum Problem im IE6
http://www.kigaeno.de/unsere-kindergaerten/kindergaertenauswahl/hellersdorf/elsenstr-11/

Gruß, Ingo