Hi pro-logic,
ich habe mal ein beispiel erstellt.
Ich weiss jetzt nicht ob die spalten direkt nebeneinander sein sollen oder nicht.
Hoffe ich konnte dir damit weiterhelfen
Gruß
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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
/* dies ist ein universal-selektor um alles auf null zu stellen, dieser wirkt auf alles! */
*{
margin: 0;
padding: 0;
}
/* body ist der zentrierte rahmen, mit fester breite */
#main{
width: 900px;
overflow: hidden;
position: relative;
margin: 0 auto;
}
/* die navigationsleiste soll links sein und immer 100% height des parent-div haben */
#navigation_sidebar{
float: left;
width: 160px;
height: 100%;
/*margin: 0px 0px 0px 15px;*/
padding: 230px 0px 0px 0px;
color: #fff;
background-color: #000;
}
/* die content-box ist in der mitte */
#content {
width: 525px;
float: left;
padding: 230px 0px 0px 0px;
/*margin: 0px 10px 0px 190px;*/
background-color: #ccc;
}
/* die rechte spalte floatet nach rechts (soll später verschiende kleine texte enthalten) */
#right {
float: right;
padding: 230px 10px 0px 5px;
/*margin: 0px 15px 0px 0px;*/
background-color: #efefef;
}
#floatstop {
clear: both;
}
</style>
</head>
<body>
<div id="main">
<div id="navigation_sidebar">Navigation</div>
<div id="content">Inhalt</div>
<div id="right">Rechts</div>
<div id="floatstop"></div>
</div>
</body>
</html>