Click to See Complete Forum and Search --> : Transparent Background with IFrame ??????
popcop
01-09-2006, 10:27 AM
Have a look at this page im currently working on
http://www.m8magazine.com/new/index_front.htm
im loading in a form into an iframe but when its loaded in it seems to have to load in a white box
is there anyway of loading the page in with a transparent background ???
johneva
01-09-2006, 10:32 AM
bgcolor="transparent"
or
allowtransparency="true"
Works better though the first one dont work in all browsers.
popcop
01-09-2006, 10:34 AM
where would that go ?
johneva
01-09-2006, 10:36 AM
Attribute to iframe tag.
popcop
01-09-2006, 10:42 AM
<iframe id="sign_id" name="sign" scrolling="no" src="signup.php" height="35" width="252" frameborder="0" bgcolor="transparent"></iframe>
that didnt seem to work
johneva
01-09-2006, 10:42 AM
allowtransparency="true"
Works better though the first one dont work in all browsers.
popcop
01-09-2006, 10:49 AM
didnt work either
http://www.m8magazine.com/new/index_front.htm
is there something i have to do to the page im actually loading in as well ???
johneva
01-09-2006, 10:53 AM
No that should work.
I might have forgot somthing I will have a play myself and let you know.
johneva
01-09-2006, 10:59 AM
Off course yes make the source page transarent too.
<style type="text/css">
body {background-color: transparent}
</style>
Sorry for forgeting that bit. :rolleyes:
Ah well I am still new to this my self I have only been using computers for 8 months. :)
popcop
01-09-2006, 11:09 AM
im still gettin that white box..
have a look - http://www.m8magazine.com/new/index_front.htm
this is the code to load the iframe:
<iframe id="sign_id" name="sign" scrolling="no" src="signup.php" height="35" width="252" frameborder="0" allowtransparency="true"></iframe>
this is the code on the page
<style type="text/css">
<!--
body {
background-color: transparent;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
</style>
popcop
01-09-2006, 11:11 AM
ignore me
i had a colour fill in the table
cheers for your help... much appreciated
johneva
01-09-2006, 11:16 AM
Yep you found it I was just about to post a message saying that.
Oh well at least you got it working now. :)