Mamoru Chiba
03-02-2003, 02:36 AM
For the love of God, I don't know what's gotten into me, but I CANNOT figure out what I'm doing wrong!
I've done everything possible to try to make this iframe (http://www.geocities.com/fantasy_rush_productions/AEarchives.html) transparent, but nooo.
I've never had this problem before.
***
Oh and just out of curiosity, can you have an iframe in a div layer?
peachie
03-02-2003, 02:12 PM
you can position an iframe in a div layer. and the transparent iframe, im almost positive i have a tutorial on my site. if not ill make one soon. its quite simple :P
Mamoru Chiba
03-02-2003, 05:45 PM
Yeah, I know how to position iframes in div layers, but for some reason it's still not transparent.
I added the code: ALLOW TRANSPARENCY="true"
So I'm confused with what I'm doing wrong. Someone help plz. ^^'
starlet
03-02-2003, 06:14 PM
Try doing it the proper way, by cutting up the image, then piecing it back together and setting the 'transparent' bit as your iframes background, its much better than all these silly codes that only work in IE6 and hardly ever work lol
But if you want to be lazy and carry on with that code you also need to add
<style type="text/css">
<!--
body { background-color: transparent; }
--!>
</style>
to the page(s) that appear inside the iframe, check out all these threads for more info, this question gets asked at least a few times a day :)
http://www.lissaexplains.com/forum//search.php?s=&action=showresults&searchid=52903&sortby=lastpost&sortorder=descending
Mamoru Chiba
03-02-2003, 07:08 PM
;P
Thank you, starlet. I was accustomed to cutting up the images, but I thought I'd ask if there was a simpler solution.
I'm guessing, cutting up your images makes it look better on all browsers.
MaGiCSuN
03-03-2003, 06:11 PM
It's better to position an iframe with just the style code. So like this:
<iframe frameborder=0 src="url.html" style="position: absolute; left: #px; top: #px; width: #px; height: #px" name="blah">
When you have more then one iframe you often get troubles with it when they are positioned with divs. The above code works always :)
Love,
mirna