IE7 weirdness - When I set the CSS of an element via jquery, I lose the margin of a sibling element.
- by Spines
When I call $('.elem').css('opacity', .5); then the margin of element to the right of .elem goes to 0, and butts right up against .elem for some reason. If I comment that line out, then the margin is fine.
This doesn't happen on firefox or chrome, but does happen on IE7.
Anyone know how to fix this?