Feaured Profiles


Your profile here? Be featured now!

            


Transparent Iframes

Contributed by Angel on December 17th, 2008 Categories: Html/Style Sheet Codes 1,638 Views
1 Star2 Stars (+2 rating, 1 votes)
Loading ... Loading ...

Before you can do transparent iframes, you must already know how to do regular iframes. If you don’t know how, read our Iframe Layout Tutorial

To start off, you want to use this code for each iframe on your page. Of course, you will need to change what’s in caps.

<iframe allowtransparency=”true” frameborder=”0″ border=0 width=WIDTH height=HEIGHT src=”PAGE.html” name=”PAGE” style=”position:absolute; left:LEFT; top:TOP” scrolling=no style=”filter:alpha(opacity=100); filter:chroma(color=6B761E)”> </iframe>

Now to make what you want transparent on your pages, you must put that color #6B761E in for the color of the parts you want to make transparent in your css codes or style sheet.

The only thing is that this will only work for the pages that show up inside of your iframes. If you have windows that open in a new window, you need to do a separate style sheet.





Credits to Friendstertalk.com for the CSS and JS codes.

Leave a Reply