Frangoo: Automatische Breite im IE7 bei absol. Elementen mit float. Kind.

Beitrag lesen

...das kann ich gerne tun:

  
	#infobox {  
		position:absolute;  
		height:90px;  
		overflow:hidden;  
	}  
	#infobox div.text {  
		height:58px;  
		width:auto;  
		background-image:url(infobox-map.png);  
		background-repeat:no-repeat;  
		background-position:0 0;  
		float:right;  
	}  
	#infobox div.layoutElementCloser {  
		float:right;  
		background-image:url(infobox-map.png);  
		background-repeat:no-repeat;  
		background-position:0 -70px;  
		width:6px;  
		height:58px;  
	}  
	#infobox div.arrow {  
		width:10px;  
		height:10px;  
		margin:0 auto;  
	}	  

  
<div id="infobox">  
   <div class="layoutElementCloser"> </div>  
   <div class="text">  
	Ich bin ein infobox!  
   </div>  
  
   <div class="arrow"> </div>  
</div>  

Doctype:

<!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">

Ausser diesem enthält mein Document auch nichts anderes.

Frangoo