Hi,
ich code gerade meine neue Homepage und bügel mit .margin ein paar fehler im IE aus.
Jetzt kommt bei folgendem Code nur die Meldung, dass der IE einen Error hatte und stürzt ab!
Tja...M$ eben
Die Frage ist nur wie ich das beheben kann?
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>Unbenanntes Dokument</title>
<style type="text/css">
<!--
body {
padding: 0px;
margin: 0px;
background-color: #000000;
}
.main{
display: block;
width: 760px;
height: 1200px;
margin: 15px auto;
padding: 0px;
background-image: url(gfx/main_bg.png);
}
.screens {
position: absolute;
display: block;
width: 542px;
height: 316px;
margin: 20px 0px 0px 182px;
background-image: url(gfx/screen_bg.png);
}
.screen {
display: block;
border: 0px;
margin: 13px 55px 0px 3px;
.margin: 13px 54px 0px 2px;
width: 242px;
height: 132px;
overflow: auto;
float: left;
background-color: #333333;
}
.screen1 {
display: block;
border: 0px;
margin: 13px 0px 0px 0px;
width: 242px;
height: 132px;
overflow: auto;
float: left;
background-color: #333333;
}
.screen2 {
display: block;
border: 0px;
margin: 24px 55px 0px 3px;
width: 242px;
height: 132px;
overflow: auto;
float: left;
background-color: red;
}
.screen3 {
display: block;
border: 0px;
margin: 24px 0px 0px 0px;
.margin: 24px 0px 0px 3px;
width: 242px;
height: 132px;
overflow: auto;
float: left;
background-color: #333333;
}
.navi {
position: absolute;
display: block;
width: 182px;
height: auto;
margin: 36px 0px;
padding: 0px;
float: left;
}
-->
</style></head>
<body>
<div class="main">
<div class="navi"></div>
<div class="screens">
<div class="screen"></div>
<div class="screen1"></div>
<div class="screen2"></div>
<div class="screen3"></div>
</div>
</div>
</body>
</html>
Alles anzeigen