Iframes

The section contains stuff related to the HTML/DHTML/XHTML for Web Page Development.

Iframes

Postby decentdeveloper on March 11th, 2008, 8:39 am

How To Create A Transparent Iframe

Iframes are not recommended. I would not recommend these. But sometimes depending upon requirements, developer finds not any other way. It also depends upon customer's requirements. I had to use Iframes in a flash based website already designed, in php development phase. There if you want to get rid of background images copies in parent and child objects then transparent iframes are used which saves your time to implement extra backgrounds.
I will explain it here.

1) In the iframe code add ALLOWTRANSPARENCY=TRUE
2) In the content page (the page seen through the iframe), add in css
Code: Select all
body
{
background-color: transparent
}


And you are done.
decentdeveloper
 
Posts: 3
Joined: March 11th, 2008, 8:00 am

Return to HTML / DHTML / XHTML

Who is online

Users browsing this forum: No registered users and 0 guests