Hi,
ich hab grade gesehen, dass sich mein komplettes Layout selbstständig macht, wenn ich rein zoome. Auch wenn ich das Fenster kleiner mache sieht das Ergebnis grauselig aus.

Hab ich was bestimmtes vergessen oder woran liegs?
LG, Alex
Meine CSS-Datei
Meine HTML-Datei (die vom Bild)
ich hab grade gesehen, dass sich mein komplettes Layout selbstständig macht, wenn ich rein zoome. Auch wenn ich das Fenster kleiner mache sieht das Ergebnis grauselig aus.

Hab ich was bestimmtes vergessen oder woran liegs?
LG, Alex
Meine CSS-Datei
PHP:
/* ... Allgemein ... */
body {
margin: 0;
padding: 0;
font-family: arial, sans-serif;
font-size: 13px;
color: #2E2611;
background: url(../Bilder/Hintergrund.jpg) repeat-x;
}
h1 {
font-family: "Times New Roman", Times, sans-serif;
font-size: 2.2em;
font-style: italic;
text-indent: 0.5em;
color: #060502;
}
h2 {
font-family: "Times New Roman", Times, sans-serif;
font-size: 1.5em;
font-style: italic;
text-indent: 1em;
color: #060502;
}
h3 {
font-family: "Times New Roman", Times, sans-serif;
font-size: 1.3em;
text-indent: 1em;
color: #060502;
}
fieldset {
width: 25%;
border: 1px solid #7A4E0B;
margin-bottom: 20px;
margin-left: 20px;
padding: 10px;
}
input, textarea {
border: 1px solid #7A4E0B;
color: #2E2611;
background-color: #95806C;
padding: 1px;
}
img {
border: none
}
/* ... Grundstruktur ... */
#container {
}
#kopf {
}
#navigation {
font-weight: bold;
font-size: 15px;
}
#navigation a:hover, #navigation a:active, #navigation a:focus {
Color: #2E2611;
text-decoration: none;
}
#navigation li {
display: inline;
list-style-type: none;
padding-right: 20px;
}
#navigation ul {
background-color: #95806C;
margin-top: 0px;
margin-right: 350px;
margin-bottom: 0px;
margin-left: 350px;
padding: 10px;
border: 3px solid #7A4E0B;
border-bottom: 0px solid #7A4E0B;
text-align: center;
}
#inhalt {
background-color: #D3C8BD;
padding-right: 20px;
padding-left: 20px;
padding-bottom: 20px;
margin-right: 50px;
margin-left: 50px;
border: 3px solid #7A4E0B;
}
#fuß {
background-color: #95806C;
margin-right: 50px;
margin-left: 1125px;
padding: 3px;
border: 3px solid #7A4E0B;
border-top: 0px solid #7A4E0B;
text-align: center;
font-weight: bold;
}
#fuß a {
text-decoration: none;
padding: 0;
}
#fuß a:hover, #fuß a:active, #fuß a:focus {
Color: #2E2611;
}
/* ... Links ... */
a:link {
text-decoration: none;
color: #694005;
}
a:visited {
text-decoration: none;
color: #694005;
}
a:focus, a:hover, a:active {
text-decoration: underline;
color: #9b630e;
}
/* ... Klassen ... */
.button input {
border-top: 1px solid #A79380;
border-right: 1px solid #7A4E0B;
border-bottom: 1px solid #7A4E0B;
border-left: 1px solid #A79380;
}
.button input:active {
border-top: 1px solid #7A4E0B;
border-right: 1px solid #A79380;
border-bottom: 1px solid #A79380;
border-left: 1px solid #7A4E0B;
}
/* ... Sonstiges ...*/
#seitenanfang {
float: right;
margin-top: -20px;
margin-right: -20px;
}
#seitenanfang img:active, #seitenanfang img:focus {
margin-top: 2px;
}
PHP:
<!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"/>
<link rel="stylesheet" type="text/css" href="../CSS/Formatierung.css"/>
<link rel="shortcut icon" href="../Bilder/Favicon.png"
type="image/x-icon"/>
<link rel="icon" href="../Bilder/Favicon.png" type="image/x-icon"/>
<title>DeJay GamePlay/Startseite</title>
</head>
<body>
<a name="top"></a>
<div id="container">
<!--Beginn der Kopfzeile-->
<div id="kopf">
<a href="Startseite.html">
<img src="../Bilder/Banner.jpg" alt="Home" title="Home"/>
</a>
</div>
<!--Ende der Kopfzeile-->
<!--Beginn der Navigation-->
<div id="navigation">
<ul>
<li>Startseite</li>
<li><a href="Meine Songs.html">Meine Songs</a></li>
<li><a href="http://www.youtube.com/user/DeeJayGamePlay/"
target="blank">YouTube-Kanal</a></li>
<li><a href="Blog.html">Blog</a></li>
</ul>
</div>
<!--Ende der Navigation-->
<!--Beginn des Inhaltes-->
<div id="inhalt">
<h1>Home</h1>
<div id="seitenanfang">
<a href="#top"><img src="../Bilder/Pfeil.png" alt="zum Seitenanfang"
title="zum Seitenanfang"/></a>
</div>
</div>
<!--Ende des Inhaltes-->
<!--Beginn der Fußzeile-->
<div id="fuß">
<a href="Impressum.html">Impressum</a>
</div>
<!--Ende der Fußzeile-->
</div>
</body>
</html>
Zuletzt bearbeitet: