silversurfer5150 — 2010-12-13T15:39:53-05:00 — #1
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?
ralphm — 2010-12-13T16:44:39-05:00 — #2
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.