• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 751
  • Last Modified:

How to make an IFRAME with a CLEAR background.

I would like to know how to make an iframe that has a clear background.  This way I can have a picture in my background on my main page, but have a frame on top of it.
0
Keruri
Asked:
Keruri
  • 2
1 Solution
 
brunoCommented:
two things:

on the page in the iframe you need this inyour CSS:
body {background-color: transparent}

on the iframe tag these attributes:
allowtransparency="true" background-color="transparent"


see this link for more info:
http://www.southerntwilight.com/tutorials/transparentiframe.html
0
 
KeruriAuthor Commented:
Ah, ok, thanks!
0
 
brunoCommented:
glad i could help!  thanks for the A.  :-)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now