Basti15517
Neues Mitglied
Hallo ich bekomme es einfach nicht hin das die Bilder genau unter einander sind, kann mir vielleicht jemand weiter helfen ich habe schon so viel ausprobiert.

CSS Code
html, body
{
background-image: url(img/hintergrund.jpg);
margin:0px auto;
min-width: 0px;
}
#header
{
background: url(img/header.gif);
width: 1920px;
height: 280px;
margin: 0px auto;
text-align:center+
}
#webseite
{
background: url(img/Webseite.jpg);
width: 1000px;
height: 783px;
margin: 45px auto;
text-align:center
}
index Code
<!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" xml:lang="de" lang="de">
<head>
<title>Larsenfishing</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<meta name="description" content="" />
<meta name="author" content="" />
<meta name="keywords" content="" />
<meta name="generator" content="Webocton - Scriptly (www.scriptly.de)" />
<link href="style.css" type="text/css" rel="stylesheet" />
</head>
<body>
<div id="header">
</div>
<div id="webseite">
</div>
</body>
</html>

CSS Code
html, body
{
background-image: url(img/hintergrund.jpg);
margin:0px auto;
min-width: 0px;
}
#header
{
background: url(img/header.gif);
width: 1920px;
height: 280px;
margin: 0px auto;
text-align:center+
}
#webseite
{
background: url(img/Webseite.jpg);
width: 1000px;
height: 783px;
margin: 45px auto;
text-align:center
}
index Code
<!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" xml:lang="de" lang="de">
<head>
<title>Larsenfishing</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<meta name="description" content="" />
<meta name="author" content="" />
<meta name="keywords" content="" />
<meta name="generator" content="Webocton - Scriptly (www.scriptly.de)" />
<link href="style.css" type="text/css" rel="stylesheet" />
</head>
<body>
<div id="header">
</div>
<div id="webseite">
</div>
</body>
</html>