Some time we need a negative margin for example margin-top: -10px. This not work in IE7
Here is trick
for Internet Explore 7 use zoom:1 for negative margin
so your css class will become
.foo{
margin-top: -10px;
zoom: 1
}
This will solve the problem

1 comment
Negative Margin for IE7 & IE8 | Trickyclicks says:
Nov 20, 2011
[...] Margin for IE7 & IE8 by Abdul Wahid on Nov 20, 2011 • 1:46 am No Comments Last tip was to fix the bug related to negative margin for IE…. use of zoom: 1 but today i faced [...]