Abstand bei float in IE

Status
Nicht offen für weitere Antworten.

ares99kk

Grünschnabel
Hallo,

ich habe mir einen Rahmen aus zwei Ecken und einem entsprechenden Mittelteil erstellt und das ganze mittels float angeordnet. Eigentlich ganz einfach ...nur sehe ich im IE rechts und links von den Ecken den Hntergrund ( ca 2px ) durch. Firefox macht da keine Probleme. Ich habe schon einiges probiert mit border, margin, padding ...

Vielen Dank!

Hier sind die Code- Schnipsel:



Code:
   #bg_wrapper
   {
   	border:0px none;
   	margin:0px auto;
   	padding:0;
   	width:970px;
   	height:1400px;
   	background-color:Lime;
   }	
   	
   #bg_lo
   {	
   	border:0px none;
   	margin:0;
   	padding:0;
   	width:30px;
   	height:30px;
   	float:left;
   	background-repeat:no-repeat;	
   	background-image:url(../pictures/BgLo.gif);	
   	z-index:2;
   }
   
   #bg_ro
   {
   	border:0px none;
   	margin:0;
   	padding:0;
   	width:30px;
   	height:30px;
   	float:right;
   	background-repeat:no-repeat;
   	background-image:url(../pictures/BgRo.gif);
   	z-index:2;
   	
   }		
   
   #bg_o
   {
   	margin:0;
   	padding:0;
   	width:auto;	
   	height:30px;
   	background-repeat:repeat;
   	background-image:url(../pictures/BgO.gif);	
   	z-index:1;
   }

HTML:
 <div   id="bg_wrapper">
   <div id="bg_lo""&nbsp;</div>
   <div id="bg_ro">&nbsp;</div>
   <div id="bg_o">&nbsp;</div>
   </div>
 
Status
Nicht offen für weitere Antworten.
Zurück