Html – Issue with negative margin on Firefox and IE

cssfirefoxhtmlinternet explorermargin

I have tried every possible resolution on this thing. No luck still, I am having a problem with negative margins on IE and FF.

I just need to set the negative margin on an item but it only affects the element and leaves its children behind.

Check out the effect here. http://s-4-k.co.uk/s4k2/

Can someone help me out please. I am desperate.

Best Answer

Please use float none for parent div it will make the behaviour common on all browsers and then set margin in negative according to your needs.

.row-fluid .span12 { float: none; }