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