Hallo Freunde des CSS,
versuche schon den ganzen Tag ein SWF hinter eine Graphik zu plazieren.
Leider hatte ich noch keinen Erfolg. Kann mir einer von Euch einen Wink dafür geben?
Folgendes CSS habe ich erstellt:
HTML-Code:
@charset "utf-8";
#container {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
height: auto;
width: 804px;
margin-right: auto;
margin-left: auto;
}
#footer {
position: absolute;
text-align: right;
z-index: 1;
width: 803px;
left: 200px;
}
#uhr {
position: absolute;
height: 140px;
width: 140px;
text-align: right;
left: 746px;
top: 22px;
z-index: 3;
}
und nun den HTML-Teil:
HTML-Code:
<!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=utf-8" />
<title>Test für traump</title>
<link href="index_traump.css" rel="stylesheet" type="text/css" />
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body>
<div ID="container"></div>
<div ID="footer"><img src="rect3000.png" alt="foot" width="803" height="151" /></div>
<div ID="uhr">
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','135','height','135','title','Uhr','src','analog_uhr','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','analog_uhr' ); //end AC code
</script>
<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="135" height="135" title="Uhr">
<param name="movie" value="analog_uhr.swf" />
<param name="quality" value="high" />
<embed src="analog_uhr.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="135" height="135"></embed>
</object>
</noscript></div>
</body>
</html>
Kann mir einer helfen? Ich finde den Fehler nicht bei mir.