How do I create a transparent inline frame?

Frequently Asked Questions about Quick 'n Easy Web Builder
Locked
User avatar
Pablo
Site Admin
Posts: 3918
Joined: Mon Feb 13, 2006 7:00 am
Location: Europe
Contact:

How do I create a transparent inline frame?

Post 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.
Locked