View Full Version : Can a Page be transparent?
fou4swords
06-20-2006, 01:54 AM
hey everi1,
I've got this page.. .. Instead of describing it.. here's the link http://four4swords.buhh.net/Artifacts/four4swordsPAGE.htm
Well in that page there is a Message box!.. When viewed through Mozilla..The Messages in the Box and the background of the box are transparent.. So it works nicely.. But when view through internet explorer.. the background of the box becomes white.. Is there a way to make the background of the page inside the Mini-Window thingy.. transparent?
.. Another way of putting it.. ( being that i confuse myself) is that I want viewers to see my message box in IE ,the same way they see it in Mozilla.
MandyJay
06-20-2006, 02:48 AM
I see how your form looks in Firefox and nice effect. But in IE, I really dont know. You are supposed to be able to make the page background transparent by using the CSS of
<style><!--
body {background-color: transparent;}
--></style>
but, it doesn't work.
Maybe becuase the content of the iframe = MessageBox.htm hasnt anything to be transparent on ... I mean it is not a table on the main page or even a text box, it is a totally separate page that is being called up ..... yes, yes, I know it shows transparent in Firefox ... I dont know why it doesnt in IE .... but I dont think it can .....just like some of the scripts you use in IE dont show in Firefox, and colored scrollbars dont show in Firefox but do in IE ..... not all browsers can display the same things.
There may be a workaround, but I dont know what it is.
MJ
fou4swords
06-20-2006, 04:42 AM
ok.. well that really sucks.. i wonder if there is anyway around it?..
I'm going to set the background back to just plain black.. So the messagebox won't be transparent anymore.. even in mozilla.. Just so if anyone was planning to check the page out..
MandyJay
06-20-2006, 07:14 AM
http://www.w3schools.com/css/css_background.asp
you can check out that site, it is good with CSS
MJ
fou4swords
06-21-2006, 01:12 AM
yeah.. but unfortunately it didn't solve my problem.. i tried making a transparent image.. and inserting that as the page's background image... so the background would have no colour except the transparent background image.. .. still nothing.. . there just HAS to be a way..
MandyJay
06-21-2006, 01:20 AM
transparent background image wont affect the background color all it will do is make sure you CAN see the background color.
No, there doesnt have to be a way (maybe there is but ...) just like Firefox cannot see colored scrollbars but IE can. You have to remember you are using two pages. The main page and a page inside your iframe.
I did do some searching before pointing you to that tutorial website and in all the cases where people asked and were told to make the page background transparent, in all cases they reported back sayhing it didnt work ... so ...
MJ
fou4swords
06-21-2006, 01:37 AM
lol Thanks anyway!
vBulletin® v3.8.1, Copyright ©2000-2010, Jelsoft Enterprises Ltd.