View Full Version : Iframes Advice
April 2nd, 2005, 02:45
Im using iframes for certain features on my sites but the back ground stays white, is there any code i can put in the iframe for the back ground to be the same as the part of the site its posted on.
i have multiple sites so it would need to be a code that just says use the background on that particular site
April 6th, 2005, 11:19
not that i can think of wragg... i think you'd need to use a different method to the one you're using now... php would do the job well and would seamlessly intergrate into a site unlike iframes.
April 6th, 2005, 11:28
There is a way to make iFrames transparent. This was a long, on-going discussion at the HTMLCenter boards. Most of us thought it wasn't possible, either, until someone showed up and posted the code for it. I'll see if I can find it.
EDIT - Well, I've just re-read through the topic that can be found here (http://forums.htmlcenter.com/showthread.php?t=649&page=1&pp=15&highlight=transparent+frame). It turns out that there are a lot of cross-browser compatibility issues with the transparency, but you can at least make it work with IE, and possibly Firefox.
April 6th, 2005, 21:10
Wouldnt includes be a much better way of doing it?
Frames are evil, and look bad, even the slightly less evil iFrames.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.