Here are css, html and js to reproduce:
html:
123
345
The solution for me was to put the DIV I wanted to vanish inside another DIV as was mentioned earlier.... HOWEVER..... I don't apply any special styles to it. Instead, all I did was use jQuery to target the new parent DIV and make that disappear instead.
It got rid of those annoying shadow artifacts for me. (on IE10)