Herzlich willkommen im Archiv vom ABAKUS Online Marketing Forum
Du befindest Dich im Archiv vom ABAKUS Online Marketing Forum. Hier kannst Du Dich für das Forum mit den aktuellen Beiträgen registrieren.
Code: Alles auswählen
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Test</title>
<style type="text/css">
body {
margin: 0px;
}
#head {
margin: 10px 10px 10px 10px;
padding: 2px 2px 2px 2px;
height: 80px;
border: 1px solid black;
}
#mitte {
margin: 0px;
}
#navilinks {
position: absolute;
top: 100px;
left: 0px;
margin: 10px 10px 10px 10px;
padding: 2px 2px 2px 2px;
width: 180px;
border: 1px solid black;
}
#navirechts {
position: absolute;
top: 100px;
right: 0px;
margin: 10px 10px 10px 10px;
padding: 2px 2px 2px 2px;
width: 180px;
border: 1px solid black;
}
#content {
margin: 14px 210px 10px 210px;
padding: 2px 2px 2px 2px;
border: 1px solid black;
}
#footer {
margin: 16px 10px 10px 10px;
padding: 2px 2px 2px 2px;
border: 1px solid black;
}
</style>
</head>
<body>
<div id="head">
Head
</div>
<div id="mitte">
<div id="navilinks">
Navilinks
</div>
<div id="navirechts">
Navirechts
</div>
<div id="content">
Content
</div>
</div>
<div id="footer">
Copyright by HansWurstSalami
</div>
</body>
</html>
Mache ich bisher auch so. Das ist echt klasse (<-- "class" LOL). Aber ich dachte...und dann wollte ich....und bei anderen gehts scheinbar auch....und da machte ich....und dachte nicht.....und jetzt häng ich hierZiel einer guten Website ist, dass DIVs da verwendet werden, wo sie den Quellcode sauber halten und gut zu designen sind.
Ich merke es. Aber ich hab im Urin dass es gehen muß! So was spürt man mit der Zeit. Nun geht mir echt die Hutschnur hoch, hab mich zuviel aufgeregt. Daher jammere ich hier um HilfeSie jedoch mit Gewalt einzusetzen ist Dummfug,
Danke!Es gibt soweit ich weis keine Möglichkeit den Footer da vernünftig drunter zu bekommen, wenn die DIVs absolut positioniert sind.
Code: Alles auswählen
<STYLE TYPE="text/css">
#header {
border-top: 1px solid gray;
border-bottom:1px solid gray;
padding: 10px 10px 10px 10px
}
#header h1{ font-size: 16px}
#mainleft {
position:absolute;
left:0px;
top:65px;
width:25%
}
#mainmiddle {
margin: 100px 25% 0px 25%;
}
#mainright {
position:absolute;
right:0px
top:65px;
width:25%px;
}
#footer {
margin: 50% 25% 0px 25%;
}
</STYLE>
Code: Alles auswählen
#header {
height:65px;
background-color: #4fffc6;
}
#mainleft {
position: absolute;
top: 100px;
left: 10px;
width: 160px;
height: 300px;
background-color: #ffcc00;
}
#mainmiddle {
width: auto;
margin: 50px 180px;
background-color: #ffffc6;
}
#mainright {
position: absolute;
top: 100px;
right: 10px;
width: 160px;
height: 300px;
background-color: #ffcc00;
}
#footer {
clear:both;
background-color: #ffcc00;
}