<div id="Layer1" align="center" style="position: width:950px; height:586px; z-index:1; left: 5px; top: 5px;"><img src="hintergrund.jpg" width="900" height="586" border="0" usemap="#Map">
<map name="Map">
<area shape="rect" coords="106,3,153,47" href="/news/home.php" target="iframe">
<area shape="rect" coords="217,6,298,48" href="haftung.htm" target="iframe">
<area shape="rect" coords="300,4,399,48" href="impressum.htm" target="iframe">
<area shape="rect" coords="520,3,615,48" href="/myguestbook/guestbook.php" target="iframe">
<area shape="rect" coords="719,4,794,46" href="tuning.htm" target="iframe"> <area shape="rect" coords="619,4,714,47" href="/board" target="_blank"> <area shape="rect" coords="157,3,213,47" href="links.htm" target="iframe">
<area shape="rect" coords="404,4,517,47" href="contact.php" target="iframe">
</map>
<div id="Layer2" style="position:absolute; width:865px; height:392px; z-index:2; left: 80px; top: 198px;">
<iframe name="iframe" width=100% height=100% NORESIZE scrolling=Yes frameborder=0 marginheight=0 marginwidth=0
src="news/home.php"></iframe></div>
</div>
position-Keule rumspielen soll, das dürfte jedesmal andere Ergebnisse als gewünscht liefern.HTML/CSS lässt sich schneller aneignen als das DW-Handbuch. Und solche CSS-Fehler wie in DIV 1 zeigt dir übrigens die Fehlerkonsole im Firefox an.
<style type="text/css">
#Layer {
position: absolute;
top: 50%;
left: 50%;
width: 824px;
height : 400px;
margin-top: -412px;
margin-left: -2004px;
border:1px solid #000000;
padding:10px;
overflow:auto;
}
-->
</style>
</head>
<body bgcolor="#717171">
<div id="Layer1" align="center" width:950px; height:586px; z-index:1;"><img src="hintergrund.jpg" width="900" height="586" border="0" usemap="#Map">
<map name="Map">
<area shape="rect" coords="106,3,153,47" href="/news/home.php" target="iframe">
<area shape="rect" coords="217,6,298,48" href="haftung.htm" target="iframe">
<area shape="rect" coords="300,4,399,48" href="impressum.htm" target="iframe">
<area shape="rect" coords="520,3,615,48" href="/myguestbook/guestbook.php" target="iframe">
<area shape="rect" coords="719,4,794,46" href="tuning.htm" target="iframe">
<area shape="rect" coords="619,4,714,47" href="/board" target="_blank">
<area shape="rect" coords="157,3,213,47" href="links.htm" target="iframe">
<area shape="rect" coords="404,4,517,47" href="contact.php" target="iframe">
</map>
</div>
<div id="Layer"><iframe name="iframe" width=100% height=100% NORESIZE scrolling=Yes frameborder=0 marginheight=0 marginwidth=0 src="daten.htm"></iframe></div>
position verwendest hebst du die Beziehung zwischen layer und layer1 auf. position ist eine mächtige CSS-Eigenschaft, von deren Gebrauch ich Anfängern nur abraten kann. Zumal ich hier keinen Sinn für ihren Einsatz sehe.position:absolute (sorry, hatte übersehen, dass sowas da auch vorkommt)
buttons im dreamweaver
netzfreak 04.03.2007 - 108 Hits - 1 Antwort
dreamweaver 8 unter suse 10.2
emanuel 23.03.2007 - 102 Hits - 2 Antworten
dreamweaver vorlagen gesucht
dreamweaver 05.04.2007 - 231 Hits - 4 Antworten
Dreamweaver MX 2004
Scumback 26.05.2007 - 168 Hits - 2 Antworten
Welches kostenlose Programm ist wie Dreamweaver?
ElCheffe 16.06.2007 - 217 Hits - 14 Antworten