Warrior_of_God Posted December 16, 2007 Share Posted December 16, 2007 I am trying to make semi-transparent panels on my page, but the code for IE doesn't seem to work:filter:alpha(opacity=75);Is there something wrong?Here's the entire code for that section: div.text {background-color: #229933;text-align: justify;border: thick groove #005500;padding: 10px 25px 10px 25px;filter:alpha(opacity=75);opacity:0.75;-moz-opacity:0.75;color: #000000;} Link to comment Share on other sites More sharing options...
Synook Posted December 16, 2007 Share Posted December 16, 2007 That should be fine. What does the rest of the page look like? Link to comment Share on other sites More sharing options...
dcole.ath.cx Posted December 16, 2007 Share Posted December 16, 2007 Maybe your browser doesn't support it. I went and tried some DHTML examples that w3school provided and they didn't work in IE7. Link to comment Share on other sites More sharing options...
Synook Posted December 17, 2007 Share Posted December 17, 2007 Filters are for IE only anyway but to my knowledge at least IE 6 and above supports the alpha filter. Link to comment Share on other sites More sharing options...
Warrior_of_God Posted December 18, 2007 Author Share Posted December 18, 2007 That should be fine. What does the rest of the page look like?The page looks fine, except for the fact that the transparency code for IE is not taking effect.Take, for example, my doctrine page:http://www.hcc-sa.org/doctrine.shtmlIn FF, I see the transparency...in IE, I don't. Link to comment Share on other sites More sharing options...
jesh Posted December 18, 2007 Share Posted December 18, 2007 You have: filter:alpha(opacity=75); Where it should be: filter:alpha(opacity:75); Link to comment Share on other sites More sharing options...
jesh Posted December 18, 2007 Share Posted December 18, 2007 You have:filter:alpha(opacity=75); Where it should be: filter:alpha(opacity:75); EDIT: Nevermind, I haven't had my coffee yet You had it right. Link to comment Share on other sites More sharing options...
Warrior_of_God Posted December 18, 2007 Author Share Posted December 18, 2007 Ah well...it seems to look better solid as opposed to transparent...I may just ditch the transparency code. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.