3pinter
March 31st, 2005, 02:31 AM
Okay,
I've been toying with css for sometime and I'm still learning. I've looked at some tut. on the web and now I have a question:
I want a left colom divided into three pieces.
1. navigation
2. filler (variable)
3. copyright
I thought I do it on the same way one creates a liquid layout with three coloms
(div 1, widht 200px)
(div 2, margin-left 200px, margin-right 200px)
(div 3, width 200px)
So for the coloms I have this:
#navcontainer {
height:285px;
float:left;
clear:left;
}
#filler {
float:left;
clear:left;
margin-top: 285px;
margin-bottom: 55px;
}
#copyright {
height:55px;
float:left;
clear:left;
}
HTML:[code]<div id="navcontainer">
<p class="topimage1"></p>
<ul>
<li><a href="#">de meldingen</a></li>
<li><a href="#">maak een melding</a></li>
<li><a href="#">de coördinatoren</a></li>
<li><a href="#">publicaties</a></li>
</ul>
<p class="bottomimage"></p>
<h4></h4>
<p class="topimage2"></p>
<ul>
<li><a href="#">de algemene site</a></li>
<li><a href="#">de erven</a></li>
</ul>
<p class="bottomimage"></p>
</div><div id="filler"></div>
<div id="copyright">
test1
test2
test3
</div>
Don't mind the ul & il ... that's all working.
The id filler doesn't seems to work. because the copyright id isn't at the bottom of my page.
Does anybody has a solution for my problem.
(Critiques or better writing code is also welcome)
tnx.
:smirk:
I've been toying with css for sometime and I'm still learning. I've looked at some tut. on the web and now I have a question:
I want a left colom divided into three pieces.
1. navigation
2. filler (variable)
3. copyright
I thought I do it on the same way one creates a liquid layout with three coloms
(div 1, widht 200px)
(div 2, margin-left 200px, margin-right 200px)
(div 3, width 200px)
So for the coloms I have this:
#navcontainer {
height:285px;
float:left;
clear:left;
}
#filler {
float:left;
clear:left;
margin-top: 285px;
margin-bottom: 55px;
}
#copyright {
height:55px;
float:left;
clear:left;
}
HTML:[code]<div id="navcontainer">
<p class="topimage1"></p>
<ul>
<li><a href="#">de meldingen</a></li>
<li><a href="#">maak een melding</a></li>
<li><a href="#">de coördinatoren</a></li>
<li><a href="#">publicaties</a></li>
</ul>
<p class="bottomimage"></p>
<h4></h4>
<p class="topimage2"></p>
<ul>
<li><a href="#">de algemene site</a></li>
<li><a href="#">de erven</a></li>
</ul>
<p class="bottomimage"></p>
</div><div id="filler"></div>
<div id="copyright">
test1
test2
test3
</div>
Don't mind the ul & il ... that's all working.
The id filler doesn't seems to work. because the copyright id isn't at the bottom of my page.
Does anybody has a solution for my problem.
(Critiques or better writing code is also welcome)
tnx.
:smirk: