Page 1 of 1

How do I create a transparent inline frame?

Posted: Sat Jun 25, 2011 12:00 pm
by Pablo
Here's how you can create an inline frame with a transparent background.
This will allow you to create scrollable text with the background of your main page showing through.

Part A:
1. Create a page with the text your want to scroll.
2. Open Page HTML and enter this code in the Between Head Tag field:

Code: Select all

<style type="text/css"> 
body 
{ 
   background-color:transparent
} 
</style>
Part B:
3. Create a page with an IFRAME (Inline Frame)
4. Set the URL to the page above.
5. Open the Object HTML for this inline frame.
6. Enter this code in the Inside Tag field:

Code: Select all

allowtransparency
7. Preview or publish this page to see the effect.