Prophet05
Erfahrenes Mitglied
Ich habe folgende Seite geschrieben:
Sie hat folgenden Quelltext:
und folgende css spezifikationen:
warum baut der ie solchen unlogischen mist? wie kann ich es beheben?
mfg Prophet

Sie hat folgenden Quelltext:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Jan's Website</title>
<link rel="stylesheet" type="text/css" href="source/style.css">
</head>
<body>
<img src="bilder/banner.png" alt="Jans Website - Banner" style="border-bottom:solid 2px #112244;">
<div style="position:absolute;top:2px;left:50%;margin-left:-383px;z-index:1;">
<img src="bilder/valide_html.png" alt="HTML Valide" style="margin-bottom:1px;"><br>
<img src="bilder/valide_css.png" alt="CSS Valide" style="margin-bottom:1px;"><br>
<img src="bilder/valide_firefox.png" alt="Firefox" style="margin-bottom:1px;"><br>
<img src="bilder/valide_mozilla.png" alt="Mozilla" style="margin-bottom:1px;"><br>
<img src="bilder/valide_ie.png" alt="Internet Explorer" style="margin-bottom:1px;"><br>
<img src="bilder/valide_opera.png" alt="Opera"><br>
</div>
<div class="navi">
<a href="index.php">Home</a>
<a href="index.php">Links</a>
<a href="index.php">Webdesign</a>
<a href="index.php">Programmieren</a>
<a href="index.php">Witze</a>
<a href="index.php">Forum</a>
<a href="index.php">Mitglieder</a>
</div>
<div class="content">
Willkommen auf meiner Website
</div>
</body>
</html>
und folgende css spezifikationen:
Code:
*
{
margin:0px;
padding:0px;
color:#224488;
font-size:11px;
font-family:verdana, sans-serif;
text-align:justify;
border:none 0px transparent;
}
html
{
height:100%;
}
body
{
width:770px;
margin-left:auto;
margin-right:auto;
border-left:solid 1px #112244;
border-right:solid 1px #112244;
height:100%;
background-image:url(../bilder/hintergrund.png);
background-position:center top;
background-repeat:repeat-y;
background-color:#7788bb;
}
img
{
}
/*** NAVIGATION ***/
div.navi
{
height:20px;
padding:0px;
border-bottom:solid 2px #112244;
background-color:#8899cc;
}
div.navi a
{
display:block;
float:left;
height:20px;
width:110px;
line-height:20px;
text-align:center;
text-decoration:none;
background-image:url(../bilder/button_n.png);
color:#ccccee;
}
div.navi a:hover
{
background-image:url(../bilder/button_h.png);
color:#224488;
}
div.content
{
padding:5px;
}
warum baut der ie solchen unlogischen mist? wie kann ich es beheben?
mfg Prophet