Oh yes, terrible fun

I spent 30 minutes last night trying to work around another small issue in IE. I had four spans that were acting, by direction of css of course, as image corners to a div. For some reason, any time I had a tag beneath that parent div, it would tear my previous div apart. It worked perfectly, again, in every other browser but IE7. After finding no luck on Google, and frankly not even really knowing what to search for, I moved my span's down to be the last children of the parent div, and it solved the problem. Apparently you can just have absolutely positions elements just anywhere in your relatively positioned div - they have to be in the perfect arbitrary spot.
This, Good. (can be seen here:
www.sampsonresume.com/contact.php)
<div class="fancy-inset">
<div class='a'>
<div class='b'>
<div class='c'>
<div class='d'>
<div class="fancyLifter">This is a test.</div>
</div>
</div>
</div>
</div>
<span class='cornerA'></span>
<span class='cornerB'></span>
<span class='cornerC'></span>
<span class='cornerD'></span>
</div>
This, Bad - Evil, Terrifying!.
<div class="fancy-inset">
<span class='cornerA'></span>
<span class='cornerB'></span>
<span class='cornerC'></span>
<span class='cornerD'></span>
<div class='a'>
<div class='b'>
<div class='c'>
<div class='d'>
<div class="fancyLifter">This is a test.</div>
</div>
</div>
</div>
</div>
</div>
Of course once I got it working right, I simplified it to this:
<div class="fancy-inset">Hello World</div>
And complimented it with the following javascript:
$(document).ready(function(){
fancyInsets();
});
function fancyInsets() {
$("div.fancy-inset").each(function(){
var content = $(this).html();
$(this).html("<div class='a'><div class='b'><div class='c'><div class='d'><div class='fancyLifter'>" + content + "</div></div></div></div><span class='cornerA'></span><span class='cornerB'></span><span class='cornerC'></span><span class='cornerD'></span></div>");
});
}