0

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.

4

2 回答 2

0

请对父 div 使用 float none 它将使所有浏览器的行为通用,然后根据您的需要将边距设置为负数。

.row-fluid .span12 { float: none; }
于 2013-07-26T05:36:43.920 回答
0

添加bottom: -20px // replace this value with yours对我有用。

于 2017-01-25T09:54:37.170 回答