
Originally Posted by
Hartmann
Couldn't you make their position absolute?
Ding ding ding, we have a winner! However, absolute positioning will also remove the <div>s from the document flow. Instead, you can do something like this:
Code:
#container {
position: relative;
}
#left {
position: absolute;
top: 0;
left: 0;
width: 200px;
}
#middle {
margin-left: 200px;
margin-right: 200px;
}
#right {
position: absolute;
top: 0;
right: 0;
width: 200px;
}
HTML Code:
<div id="container">
<div id="left">left column</div>
<div id="middle">Middle column. Still in document flow :)</div>
<div id="right">right column</div>
</div>
Bookmarks