CSS - IE7 weirdness - When I set the opacity of an element, I lose the margin of a sibling element.
Posted
by Spines
on Stack Overflow
See other posts from Stack Overflow
or by Spines
Published on 2010-05-04T00:54:26Z
Indexed on
2010/05/04
1:58 UTC
Read the original article
Hit count: 195
When I set the opacity of an element ( filter:alpha(opacity=50);
) then the margin of the element to the right of it goes to 0, and butts right up against the element for some reason.
This doesn't happen when setting opacity on firefox or chrome, but does happen on IE7.
Anyone know how to fix this?
© Stack Overflow or respective owner