View Full Version : Backgrounds Showing Through IFrames


WesMan2k3
08-01-2003, 06:54 AM
Yes, I've read tons and tons of these types of questions, but I've got one of my own:

I need this effect on my page (for ease of use, speed, etc). I have a background image that goes into an IFrame. I have various links that must load into this IFrame, but I want the background to stay there the ENTIRE time (the problem with making the background on each seperate page is an annoying white flash of the background reloading. BAD. :p), and have the text just load ontop of the already-there background.

Any clues?

http://www.angelfire.com/ultra/kami

There's the link so you can see what I mean. If you need me to give you any codes or anything from my source, I'd be more than happy.

------------

In other words, how can I make the background 'static' (not in a 'watermark' type anwer, because I already know how to do that very well), what I need is the background to perminately stay put, while new pages load ontop of it. Yes, it's an IFrame, and yes, I tried to give the IFrame a BG source, but it always turns up white........

So how would I go about making the bg of the iframe constantly there?

WesMan2k3
08-01-2003, 07:48 AM
After some fiddiling around, I finally got it to work the way I wanted:

For the actual IFRAME tag, I added this in there:

<iframe allowTransparency="true" STYLE="background-image:url(imagelinkhere.gif)">

Then, on each individual page that loads into the above IFrame, I added this to the 'body' tag

<body bgcolor="transparent">

And that does it! It works like a charm, and I'm using IE6. Hope this helps someone. :)