ComBrandon
07 Jan 2011, 06:10 PM
I have a very short problem that I need to get worked out. I am trying to get something transparent in IE, but nothing seems to work.
objectElement = document.createElement("p");
document.body.appendChild(objectElement);
objectElement.appendChild(document.createTextNode("Loading..."));
That is how I created the element. Now I want it to be transparent.
But this doesn't work...
objectElement.style.filter ='progid:DXImageTransform.Microsoft.Alpha(opacity=50)';
objectElement = document.createElement("p");
document.body.appendChild(objectElement);
objectElement.appendChild(document.createTextNode("Loading..."));
That is how I created the element. Now I want it to be transparent.
But this doesn't work...
objectElement.style.filter ='progid:DXImageTransform.Microsoft.Alpha(opacity=50)';