[IE8 bug] margin (top/bottom) disappears when toggling
[IE8 bug] margin (top/bottom) disappears when toggling
Hi
,
I found a possible solution to:
http://forum.jquery.com/topic/weird-disappearing-margin-in-ie8
http://forum.jquery.com/topic/ie8-bug-slidetoggle-disappearing-margins-example-included
http://forum.jquery.com/topic/hide-problem-on-ie8
http://forum.jquery.com/topic/ie8-bug-slidetoggle-disappearing-margins
It is a IE8 bug, when you try to hide a div vertically (slideUp) and then the margin (top/bottom) in between divs headers disappear ¿?.
just apply the following css to the block(s) element(s) (divs,normally) with the margin in conflict (which disappears)
overflow : hidden
I don't know if this solution could be automated by jQuery....
Topic Participants
emelendez