Hoi Leute !
Also meine *.html Datei sieht so aus:
Ich hab erstmal alles nur mit Bildern gemacht, alles andere wäre totaler Terror
.
So nun meine absolute.css:
So ich möchte nun den Container #alles mit seinem ganzem Inhalt zentrieren !
Bestimmt bin ich nur zu müde, oder zu krank, naja Lachs, auf euch kann man sich ja verlassen...
Gruss & Dank
Nils
Also meine *.html Datei sieht so aus:
Code:
<html>
<head>
<title></title>
<link rel="stylesheet" href="absolute.css" type="text/css">
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#FF0000" alink="#FF0000" vlink="#FF0000">
<div id="alles">
<div id="links">
<img src="left.jpg" width="323" height="705" border="0" alt="">
</div>
<div id="oben">
<img src="top.jpg" width="617" height="94" border="0" alt="">
</div>
<div id="flash">
<img src="neben-left_unter-top.jpg" width="349" height="221" border="0" alt="">
</div>
<div id="navi">
<img src="right.jpg" width="268" height="266" border="0" alt="">
</div>
<div id="ueberschrift">
<img src="ueberschrift.jpg" width="349" height="45" border="0" alt="">
</div>
<div id="content">
<img src="content.jpg" width="617" height="359" border="0" alt="">
</div>
</div>
</body>
</html>
Ich hab erstmal alles nur mit Bildern gemacht, alles andere wäre totaler Terror
.So nun meine absolute.css:
Code:
html
{
margin:0;
padding:0;
}
body
{
font-family:Verdana;
font-size:12px;
background-color:#FFFFFF;
margin:0;
padding:0;
}
#alles
{
width:940px;
margin:0px;
padding:0px;
}
#links
{
float:left;
margin:0px;
padding:0px;
}
#oben
{
position:absolute;
left:323px;
margin:0px;
padding:0px;
}
#flash
{
position:absolute;
top:94px;
left:323px;
margin:0px;
padding:0px;
}
#navi
{
position:absolute;
left:672px;
top:94px;
margin:0px;
padding:0px;
}
#ueberschrift
{
position:absolute;
top:315px;
left:323px;
margin:0px;
padding:0px;
}
#content
{
position:absolute;
top:360px;
left:323px;
margin:0px;
padding:0px;
}
So ich möchte nun den Container #alles mit seinem ganzem Inhalt zentrieren !
Bestimmt bin ich nur zu müde, oder zu krank, naja Lachs, auf euch kann man sich ja verlassen...
Gruss & Dank
Nils


Kommentar