• Das Erstellen neuer Accounts wurde ausgesetzt. Bei berechtigtem Interesse bitte Kontaktaufnahme über die üblichen Wege. Beste Grüße der Admin

[CSS] bg-color: transparent stellt der IE weiß dar ...

NewNoise

New member
'n Abend!
Also folgendes Problem:
Der IE macht background-color:transparent weiß und nich transparent ...
Kann der IE das nich ?! Oder hab ich es falsch gemacht ?!
HIER
FF stellts richtig dar!
CSS-Datei:
HTML:
html { 
	height:90%;
	margin:0px;
	padding:0px;
	overflow: hidden;
}

body {
	margin:0 5%;
	padding:75px;
	text-align:center;
}

html>body {
	height:90%;
}

#iframe {
	border: hidden;
	color:black;
	background-color: transparent;
	margin:auto;
	overflow: hidden;
}

#ges {
	width: 920px;
	height: 500px;
	background-image: url(bg.jpg);
}
	 

#sb {
    width: 208px;
	height: 498px;
 	float: left;
	background-color: transparent;
}

#pic {
    width:680px;
	height:498px;
	float: right;
	background-color: transparent;
}

#scroll {
	width: 30px;
	height: 498px;
	float: left;
	background-color: transparent;
}

index1.html:
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>..:: P.A.R.T.Y.C.O.N.V.E.N.T.I.O.N. - Birthday WE steht an ::..</title>
<link href="pc.css" rel="stylesheet" type="text/css">

<script type="text/javascript">
   var myTimeout;   
   function scrollPage(dir) {
      dir == 'down' ? frames['shb'].scrollBy(0,10) : frames['shb'].scrollBy(0,-10);
      myTimeout = setTimeout("scrollPage('" + dir + "')", 50);
   }
</script> 

</head>

<body>
<div id="ges">
<div id="sb"><iframe src="shoutbox" id="iframe" scrolling="no" name="shb" width="208px" height="498px" frameborder="0" style="background-color: transparent"></iframe></div><div id="scroll"><a href="#" onmouseover="scrollPage('up')" onmouseout="clearTimeout(myTimeout)"><img src="pics/up.GIF" border="0px"></a><a href="#" onmouseover="scrollPage('down')" onmouseout="clearTimeout(myTimeout)"><img src="pics/do.GIF" border="0px"></a></div><div id="pic"><iframe src="showit/index.php" name="pics" id="iframe" scrolling="no" width="680px" height="498px" frameborder="0"></iframe></div>
</div>
</body>
</html>
 
Zuletzt bearbeitet:
hallo nochmal!
also das transparenz problem besteht noch immer ... s.o.
--> das besteht weiterhin ...
[dazu kommt nun, dass der FF den inhalt des pic divs zu weit rechts anordnet, der ie macht das richtig!
--> oh hat sich gerade erledigt ... ich hatte den cache nich gelöscht :whacky: ]
danke
noise
 
Zuletzt bearbeitet:
Moin!

Zieh Dir das hier mal rein (am Besten mit IE - bei MS können die nich für andere Browser coden)...

Ahoi - Pit
 
Zurück
Oben