View Full Version : Transparent iFrames...
iRoss
27-11-2004, 06:30 PM
Hey,
Does Anyone Know The HTML Code For A Transparent iFrame?!
Thanks!
WiseBen
27-11-2004, 06:50 PM
<IFRAME name="iframename" src="blah.htm" frameBorder=yes/no
allowTransparency scrolling="yes/no">
Then in the actual page that is in the frame, you need to do this to make it transparent:
<STYLE>
BODY
{
BACKGROUND-COLOR: transparent
}
</STYLE>
Hope this helps.
Benny.
iRoss
27-11-2004, 07:06 PM
<IFRAME name="iframename" src="blah.htm" frameBorder=yes/no
allowTransparency scrolling="yes/no">
Then in the actual page that is in the frame, you need to do this to make it transparent:
<STYLE>
BODY
{
BACKGROUND-COLOR: transparent
}
</STYLE>
Hope this helps.
Benny.
<STYLE>
BODY
{
BACKGROUND-COLOR: transparent
}
</STYLE>
where does that bit go in the frame page? like under <head> or <body> etc
WiseBen
27-11-2004, 07:25 PM
It doesnt matter where it goes on the page, it still works. (i think) just try it.
And it goes on the page in the iFrame.
8Freak8
27-11-2004, 08:23 PM
In <head></head>.
And it works better in other browsers (other than IE) if you put <style type="text/css"> instead of <style> ;)
iRoss
27-11-2004, 08:29 PM
what about the frame size?!
WiseBen
28-11-2004, 12:32 AM
lol ok smarty pants, The frame size is just:
<IFRAME name="iframename" src="blah.htm" frameBorder=yes/no
allowTransparency scrolling="yes/no" height="amount of pixels/percentage of table or page" width="same as height">
Edit: When i say width="same as height", i mean you do the same thing, obviously not the same number :)
If you got any more questions my MSNs working now lol stupid thing wouldnt before.
iRoss
28-11-2004, 02:58 PM
u never on MSN lol ok thanks, i still dont get it so i will have to wait for you... *+* Waits *+* :@ xD
WiseBen
28-11-2004, 04:27 PM
GRRRRR
its not working again, It started working about 12 o clock last night rofl, then this morning: WHAMMMM
And my habbo aint wroking either, The only thing i can get on is this :@:@
im really peeeed off at it GRRRRRRRRRRRRRRRRRRR
iRoss
28-11-2004, 04:47 PM
go on yahoo "/
WiseBen
28-11-2004, 05:07 PM
i cant get on it, I think its a problem with my internet connection or seomthing, nothing seems to work. . .
Powered by vBulletin™ Version 4.0.2 Copyright © 2010 vBulletin Solutions, Inc. All rights reserved.