[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 746
  • 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

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

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