The left column is connected to the center, it is just another div... the negative margin moves the column out, otherwise it would mess up how it looks... basically it is not in its own area, it is part of the center column...
Code:
<body>
<div id="maincontainer">
<div id="topsection"><div class="innertube"><h1>CSS Fixed Layout #3.1- (Fixed-Fixed-Fixed)</h1></div></div>
<div id="contentwrapper">
<div id="contentcolumn">
<div class="innertube"><b>Content Column: <em>Fixed</em></b> <script type="text/javascript">filltext(10)</script></div>
</div>
</div>
<div id="leftcolumn">
<div class="innertube"><b>Left Column: <em>180px</em></b> <script type="text/javascript">filltext(20)</script></div>
</div>
<div id="rightcolumn">
<div class="innertube"><b>Right Column: <em>190px</em></b> <script type="text/javascript">filltext(15)</script></div>
</div>
<div id="footer"><a href="http://www.dynamicdrive.com/style/">Dynamic Drive CSS Library</a></div>
</div>
</body>
Everything is contained in the center column, the margin is - so that it will move it away, otherwise it tries to put it in the main column, messing up the configuration of the columns.
I am not too experienced with CSS but I understand that, maybe someone wiht more css experience cna explain it better.
Bookmarks