Johannes11
Neues Mitglied
Vielleicht kannst Du ja auch daran erkennen (neben dem Rahmen) woran es liegt, dass das Logo nicht von der Oberkante weggeht. Wie gesagt, mit margin bewegt es sich nur nach links oder rechts und nach unten kann ich es nur durch Umbrüche verschieben .. Vielen Dank
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=UTF-8" />
<title>agile Tournee</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="wrapper">
<span style="margin-left:50px;margin-top:20px;outline-style:none">
<a href=><img src="img/logo.png"><a href="index.html"</a>
</span>
</div>
</body>
</html>
CSS
body {
font-family:Arial, Helvetica, sans-serif;
font-size:11px;
margin:0px;
padding:0px;
line-height: 20px;
text-align:center;
list-style-type:none;
color: #3e3d40;
}
#wrapper {
width:1024px;
min-height:768px;
margin: 0 auto;
text-align:left;
background-image: url(../img/site.png);
background-repeat:no-repeat;
}
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=UTF-8" />
<title>agile Tournee</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="wrapper">
<span style="margin-left:50px;margin-top:20px;outline-style:none">
<a href=><img src="img/logo.png"><a href="index.html"</a>
</span>
</div>
</body>
</html>
CSS
body {
font-family:Arial, Helvetica, sans-serif;
font-size:11px;
margin:0px;
padding:0px;
line-height: 20px;
text-align:center;
list-style-type:none;
color: #3e3d40;
}
#wrapper {
width:1024px;
min-height:768px;
margin: 0 auto;
text-align:left;
background-image: url(../img/site.png);
background-repeat:no-repeat;
}