PDA

View Full Version : IFrames



-:=:-scotty-:=:
01-12-2007, 06:43 PM
Hey

I have an iframe in my design but I cannot make it transparent so the image on the design behind will show through?!

any ideas?

cheers

rh4u
01-12-2007, 06:45 PM
style="background-color:transparent; background-image:transparent;" put that in the iframe code :)

-:=:-scotty-:=:
01-12-2007, 07:01 PM
doesnt work...

<iframe src="main.html" border=0 frameborder="0" width=398" height="317" style="background-color:transparent; background-image:transparent;"></iframe>

will i need anything on the source page (MAIN)

Jamesy
01-12-2007, 07:12 PM
I think it is something like allowtransparency="yes"

d17c
01-12-2007, 07:13 PM
I think it is something like allowtransparency="yes"

Yup that's the one, i think..


And also, your iframe code is missing lots of "

-:=:-scotty-:=:
01-12-2007, 07:34 PM
still doesnt work!!

<iframe src="main.html" border=0 frameborder="0" width="398" height="317" allowtransparency="yes" style="background-color:transparent; background-image:transparent;"></iframe>

d17c
01-12-2007, 08:04 PM
Is the "main.html" transparent?

-:=:-scotty-:=:
01-12-2007, 08:04 PM
erm no how do i do that ? :s

d17c
01-12-2007, 08:19 PM
It should be transparent by default I think, but I'm not sure, so unless you've added a background to main.html then I dunno what the problem is

Jamesy
01-12-2007, 08:20 PM
Can you post a link so we can see?

-:=:-scotty-:=:
01-12-2007, 08:21 PM
the frame just leave a white box bg

-:=:-scotty-:=:
01-12-2007, 08:21 PM
its not online atm

Sorry for double post forgot to edit!!

Edited by opensourcehost (Forum Super Moderator): Please do not multiple post.

-:=:-scotty-:=:
05-12-2007, 09:45 PM
-Closed- Solution has been found!

Want to hide these adverts? Register an account for free!