Ik ben bezig met een nieuwe layout te basen, maar nu wil ik in de container div een border die over de hele lengte gaat.
Maar nu neemt hij 100% van wat je eerst krijgt, en daarna stopt hij ermee, als je naar beneden scrolt.
Voor de gene die het niet snappen
Een voorbeeldje
Ik gebruik dit stukje css.
body {
background-color: #cfe5e4;
}
#container {
margin-left: auto;
margin-right: auto;
height: 100%;
width: 800px;
background-color: #cfe5e4;
border: 1px solid #504d42;
border-bottom-width: 0px;
}
#header {
background-image: url(images/header.gif);
background-color: #fff;
height: 147px;
width: 800px;
}
#menu {
background-image: url(images/menu.gif);
background-color: #fff;
height: 34px;
width: 800px;
}
#content {
margin-left: auto;
margin-right: auto;
width: 700px;
}
#content_left {
margin-top: 25px;
margin-bottom: 25px;
background-image: url(images/content_head.gif);
background-position: top;
background-color: #fff;
background-repeat: no-repeat;
min-height: 500px;
width: 468px;
border: 1px solid #504d42;
float: left;
}
#content_right {
margin-top: 25px;
margin-bottom: 25px;
background-color: #cfe5e4;
width: 228px;
min-height: 500px;
border: 1px solid #504d42;
border-left-width: 0px;
float: left;
}