StarletEireann
05-14-2003, 12:22 AM
I'm doing my first blog layout using frames, and I cannot get the blog part transparent. Where it says "allow transparency", I put 'true' but it's still solid white. Is 'true' the right thing to put or am I even in the right spot lol?
Elentari
05-14-2003, 03:23 AM
It would be like this...
<IFRAME ALLOWTRANSPARENCY="true"> </IFRAME>
StarletEireann
05-14-2003, 08:42 PM
Thats what I have on there, but it's still white. Is white an iframe's transparency? I want it so you can see the text but also the layout behind it.
starlet
05-14-2003, 11:38 PM
A lot of those transparent iframe codes dont work, and they arent very browser friendly, your best bet would be to simply cut up the image and set the appropriate 'piece' as the iframes background...if you dont want to do that though could you post either a link to the page or your full source code please.
StarletEireann
05-14-2003, 11:46 PM
This is the code I'm using...
<iframe frameborder="0" border=0 width=255 height=5000 src="blog.html" name=COOLFRAME scrolling=CHOICE style="position:absolute; top:370; left:58" allowtransparency="true"></iframe>
Is that right for it to be transparent? They layout is'nt online at the moment, but I can upload it if you need to see it.
starlet
05-15-2003, 12:00 AM
Do you also have the code for a transparent background in the page(s) that appear in the iframe? I believe you also have to add something like this...
<body style="background-color:transparent">
StarletEireann
05-15-2003, 12:14 AM
<style>
<body style="background-color:transparent">
</style>
I tried that in <head> and <style>, it still didn't work. Would it maybe have something to do with bgcolor?
starlet
05-15-2003, 12:19 AM
No thats the actual body tag, as in
<html><head><title></title></head>
<body style="background-color:transparent">
content
</body></html>
StarletEireann
05-15-2003, 01:12 AM
Gah! That did'nt work either!! I need the body background image to be one that connects with the major layout image, and that tag made it white. Is there a way that I could use a table but still keep the iframe functions? That way it would just show the text and no background color. What do you think?
Brandon
05-17-2003, 05:29 PM
add this to the blog.html page
<style>
<!--
BODY{
background-color:transparent;
}
-->
</style>
Owlie42
05-20-2003, 07:11 PM
Hmm...you might almost be better off making the background image the same as that part of the major image where the frame is. (Did that make sense?)
microcosm
05-21-2003, 04:34 AM
I put that code right under <title> and it worked.
JoshHartnettGrl
05-26-2003, 09:12 AM
a lot of people don't use the transparent iframe code...it's a bit unreliable...so i'd suggest cutting out the part of the background you want or just do something like i do on my site, have the main image somewhere, and the rest of the layout be one color, and in the html file put < body background="thatcolor" >