soezkan
Erfahrenes Mitglied
Hallo zusammen,
es ist echt zum Verzwifeln. Ich habe mir ein dreispaltiges Layout zusammengeschustert, aber es will einfach nicht dreispaltig sein
Was mache ich falsch? Die beiden Texte, die ich in "LeftBox" und "RightBox"
angegeben habe erscheinen nicht richtig ("LeftBox" garnicht und "RightBox" steht darunter)
Hier das dazugehörige CSS namens meinstyle.css
Kann mir da vielleicht jemand einen Tipp geben, was ich da falsch mache?
1000 Dank.
Liebe Grüße
Soezkan
es ist echt zum Verzwifeln. Ich habe mir ein dreispaltiges Layout zusammengeschustert, aber es will einfach nicht dreispaltig sein

Was mache ich falsch? Die beiden Texte, die ich in "LeftBox" und "RightBox"
angegeben habe erscheinen nicht richtig ("LeftBox" garnicht und "RightBox" steht darunter)
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>
<title>Meine Seite</title>
<link href="meinstyle.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="CenterBoxMain">
<div id="RightBox">Hallo, ich sollte eigentlich links oben, am Seitenkopf stehen ...</div>
<div id="CenterBox">
<div id="Header"> </div>
<div id="HeaderNavigation">
<div id="MainMenu"> </div>
<div id="SubMenu"> </div>
</div>
<div id="Content">
<div id="LeftColumn">
<p id="LeftImage"><img src="http://www.tutorials.de/forum/images/whitespacer.gif" width="265" height="180" border="0" alt=""></p>
<p id="LeftMenu"> </p>
</div>
<div id="RightColumn"> </div>
</div>
<div id="Spacer"> </div>
<div id="FooterNavigation">
<ul>
<li><a href="#">Agb</a></li>
<li><a href="#">Datenschutz</a></li>
<li><a href="#">Sitemap</a></li>
<li><a href="#">Impressum</a></li>
<li><a href="#">Kontakt</a></li>
</ul>
</div>
</div>
<div id="RightBox">... und ich sollte eigentlich rechts oben, am Seitenkopf stehen. </div>
</div>
</body>
</html>
Hier das dazugehörige CSS namens meinstyle.css
Code:
body {
color: black;
background-color: white;
font-size: 100.01%;
font-family: Verdana,Helvetica,Arial,sans-serif;
margin: 0 0 0 0;
padding: 0 0 0 0;
min-width: 40em; /* Mindestbreite verhindert Umbruch und Anzeigefehler in modernen Browsern */
/* border: 1px solid green; */
text-align: center;
}
/********************/
/** CENTER BOX ******/
/********************/
div#CenterBoxMain {
padding: 0px 0px 0px 0px;
margin-top: 0px;
margin-bottom: 0px;
margin-right: auto;
margin-left: auto;
/* opera does not like 'margin:20px auto' */
text-align:left;
/* part 2 of 2 centering hack */
width: 968px; /* ie5win fudge begins */
voice-family: "\"}\"";
voice-family:inherit;
width: 938px;
min-height: 100%;
height: 100%;
}
html>body #CenterBoxMain {
width: 938px; /* ie5win fudge ends */
min-height: 100%;
height: 100%;
}
div#LeftBox {
float: left;
}
div#CenterBox {
float: left;
}
div#RightBox {
float: right;
}
div#Header {
margin: -36px 0px 0px 0px;
padding: 0px 0px 0px 0px;
min-height: 219px;
height: 219px;
background-color: #efefef;
}
div#HeaderNavigation {
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
min-height: 62px;
height: 62px;
background-color: #feeefe;
}
div#Content {
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
min-height: 363px;
height: 363px;
background-color: #eefefe;
}
div#LeftColumn {
float: left;
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
min-height: 100%;
height: 100%;
width: 265px;
background-color: #aefeae;
}
p#LeftImage {
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
min-height: 100%;
height: 100%;
}
p#LeftMenu {
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
min-height: 100%;
height: 100%;
}
div#RightColumn {
float: right;
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
min-height: 100%;
height: 100%;
width: 673px;
background-color: #feaeae;
}
div#Spacer {
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
min-height: 234px;
height: 235px;
background-color: #fefeee;
}
div#FooterNavigation {
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
min-height: 33px;
height: 33px;
background-color: #eefeee;
}
div#FooterNavigation ul {
margin: 0px 0px 0px 0px;
padding: 7px 0px 0px 0px;
}
div#FooterNavigation li {
margin: 0px 0px 0px 0px;
padding: 0px 23px 0px 23px;
display: inline;
color: #cccccc;
font-size: 13px;
}
div#FooterNavigation a {
font-size: 13px;
font-weight: normal;
text-decoration: none;
color: #cccccc;
}
div#FooterNavigation a:link {
color: #cccccc;
}
div#FooterNavigation a:visited {
color: #cccccc;
}
div#FooterNavigation a:hover {
color: #585a59;
text-decoration: none;
}
div#FooterNavigation a:active {
color: #585a59
}
Kann mir da vielleicht jemand einen Tipp geben, was ich da falsch mache?
1000 Dank.
Liebe Grüße
Soezkan
Zuletzt bearbeitet: