following is a simple, the opacity does not works in IE6.0.
Is this a bug, or should I use other expressions?
<html>
<head>
<script type="text/javascript" src="/js/jquery/jquery-1.1.3.js"></script>
<!--<script type="text/javascript"
src="/js/jquery/jquery-1.1.2.js"></script>--><!-- this works-->
<script>
function test(){
   $("<div>").css({
          position: "absolute",
          top: 0,
          left: 0,
          opacity: 0.5,
          width: 100,
          height: 100,
         backgroundColor:  "red"})
   .appendTo(document.body).text("hihi")
}
$(test)
</script>
<style type="text/css">
#test{
   position: relative;
   width: 400px;
   height: 400px;
   border: 1px solid green;
   background-color: blue;
}
</style>
</head>
<body>
<div id="test">asdfasdfasdfa</div>
</body>
</html>

Reply via email to