Negative Margins

Hey guys,

My Css code is working great lately which is a vast improvement on what it used to be but there is something that bothers me - Negative margins! I recently designed a three column layout and certain columns were longer than others, newspaper style. Anyway, in order to stop some of them knocking each other onto the next line, I used neagtive margin-top and margin-bottom properties. The result was a great layout which only had minor backward compatibility issues with IE6 and 7. Should I feel guilt about using this technique for layout or is it a necessary evil?



I suspect there’s a better way to go, but we could see the site to be able to judge properly. I prefer to avoid things like this, as they are prone to problems—at least in IE, if nothing else. :slight_smile: