I'm experiencing a problem with pie.js in IE8. Here's my css code
.example{
top:0;
font-family:Verdana, Arial, Helvetica, sans-serif;
padding:0;
-moz-border-radius:5px;
-webkit-border-radius:5px;
border-radius:5px;
font-weight:bold;
cursor:pointer;
text-decoration:none;
position:relative;
z-index:1;
background-position: 0 50%;
background-repeat:repeat-x;
text-align:center;
-pie-poll:true;
}
and I called it using jQuery
jQuery(document).ready(
function() {
if (window.PIE) {
$('.example').each(function() {
PIE.attach(this);
});
}
});
It works fine in IE7, but when I switch to IE8, the pie style doesn't render until I hover over the styled element. IT ONLY HAPPENS FOR THE FIRST TIME AFTER COMPLETELY LOAD THE PAGE!!LATER IT WORKS OKAY....
I'm pretty sure I use the absolute path for loading the pie.js and I have taken care of Z-index as well as position:relative...
Just don't know what is wrong......does any one have the same issue? How do you solve it?