Hallo, meine Seite (http://www.elwudl.de), wird im IE perfekt angezeigt. Im Firefox und Opera jedoch spinnt die Darstellung komplett.
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1250">
<meta name="author" content="Benedikt Wedlich">
<title>el.wudl | i am abomination</title>
<link rel="stylesheet" type="text/css" href="inc/layout.css">
<base target="_self">
</head>
<body>
<div id="kopf" style="background-image: url(images/top.jpg);"> </div>
<div id="nav" style="background-image: url(images/navi.jpg);">
<? include "navi.html"; ?>
</div>
<div id="inhalt">
<? switch($_GET['section'])
{
case "news":
include "sections/news/news.php";
break;
case "me":
include "sections/me.php";
break;
case "music":
include "sections/music/music.php";
break;
case "dates":
include "sections/dates/dates.php";
break;
case "gallery":
include "sections/gallery.php";
break;
case "links":
include "sections/links/links.php";
break;
case "guestbook":
include "sections/guestbook.php";
break;
case "forum":
include "sections/forum.php";
break;
case "contact":
include "sections/contact.php";
break;
default:
include "sections/news/news.php";
break;
}
?>
</div>
<div id="fuss" style="background-image: url(images/fuss.jpg);">© [url='main.php?section=contact']el.wudl[/url] 2005 </div>
</body>
</html>
Alles anzeigen
Code
body {
background-color: #AAAAAA; background: url("../images/body.jpg"); background-attachment: fixed;
text-align: center;
}
div#kopf {
background-color:#000000;
margin:0; height:80px; width:800px; border: 1px 1px 1px 1px solid #000000;
}
div#nav {
background-color:#000000;
margin-top: 1px; height:18px; width:800px; border: 1px 1px 1px 1px solid #000000;
font-family: Verdana, Tahoma, Arial; font-size: 12px; font-weight: bold; text-align: right;
}
div#nav a:link, a:active, a:visited, a:hover { color: #FFFFFF; text-decoration: none; }
#inhalt {
margin-top:1px; height:400px; width:800px; background-color:#666666;
padding-left: 20px; padding-right: 20px; padding-bottom: 10px;
border: 1px 1px 1px 1px solid #000000;
font-family: Verdana, Tahoma, Arial; font-size: 11px; text-align: justify; color: #FFFFFF;
}
#inhalt a:link, a:active, a:visited, a:hover { color: #FFFFFF; text-decoration: none; font-weight: bold; }
#inhalt h1 {
background-color:#555555;
margin-top:8px; margin-left:4px; margin-right:4px; height: 14px; border: 1px 1px 1px 1px solid #000000;
font-family: Verdana, Tahoma, Arial; font-size: 10px; font-weight: bold; text-align: left; color: #FFFFFF; font-weight: bold;
padding-left: 20px; padding-right: 20px;
}
#inhalt table {
margin-left:4px; margin-right:4px;
padding-left: 20px; padding-right: 20px;
}
#inhalt table.table {
width:500px;
margin-left:4px; margin-right:4px; border: 1px 1px 1px 1px solid #000000;
padding-left: 20px; padding-right: 20px;
}
#inhalt td {
padding:2px;
font-family: Verdana, Tahoma, Arial; font-size: 11px; text-align: left; color: #FFFFFF;
}
#inhalt td.topbottom {
background-color:#555555;
padding:2px;
font-family: Verdana, Tahoma, Arial; font-size: 11px; text-align: left; color: #FFFFFF;
font-weight: bold;
}
#inhalt td.text {
background-color: #AAAAAA;
padding:4px;
font-family: Verdana, Tahoma, Arial; font-size: 11px; text-align: left; color: #000000;
}
#inhalt input {
height:20px;
border: 1px 1px 1px 1px solid #000000;
font-family: Verdana, Tahoma, Arial; font-size: 10px; font-weight: bold; color: #000000;
}
#inhalt input.button {
background-color:#FFFFFF;
height:20px;
border: 1px 1px 1px 1px solid #000000;
font-family: Verdana, Tahoma, Arial; font-size: 10px; font-weight: bold; color: #000000;
}
#inhalt textarea {
border: 1px 1px 1px 1px solid #000000;
font-family: Verdana, Tahoma, Arial; font-size: 10px; font-weight: bold; color: #000000;
}
#inhalt image {
border: 1px 1px 1px 1px solid #000000;
}
#fuss {
background-color:black;
margin-top: 1px; height:18px; width:800px; border: 1px 1px 1px 1px solid #000000;
font-family: Verdana, Tahoma, Arial; font-size: 12px; font-weight: bold; color: #FFFFFF; text-align: right;
}
#fuss a:link, a:active, a:visited, a:hover { color: #FFFFFF; text-decoration: none; }
Alles anzeigen