hey all. what's this humongous negative margin for? i'm just curious. doesn't seem to be effecting anything.
#container {
width:940px;
float:right;
margin: 0 0 0 -310px;
}hey all. what's this humongous negative margin for? i'm just curious. doesn't seem to be effecting anything.
#container {
width:940px;
float:right;
margin: 0 0 0 -310px;
}I came looking for an answer to the same question. My guess is that it was designed that way for the 3-column layout, where the negative margin technique is useful for having sidebars on both the left and right but still having the middle (main) column first in the source order.
I was wondering if it serves any purpose in the 2-column layout, or if you could just as easily zero out the margins and float #content in one direction and the asides in the other?
ah, good thinking. would love an authoritative answer, but heh, it aint broke, so i'm not going to fix it.
You must log in to post.