iframes

They have: 33 posts

Joined: Jan 2003

hi again ppl
i was wondering
is it possible to have transparent iframes?

i have made a small design for a personal blog site, and was wondering if it is possible to have a see through table for my content area. But, when i do this it creates a white bg, even though i have a image which spans part of the table
click the links below for a graphical view of what i mean

Liam

should look like:http://tmt.neopages.net/temp/should_look.jpg

does look like http://tmt.neopages.net/temp/site.html

Busy's picture

He has: 6,151 posts

Joined: May 2001

try put the image as background for the iframe.
It wont be perfect on all browsers and you may have to play with margins and borders to get it to sit right.
The white your seeing is the default browser colour

They have: 42 posts

Joined: Dec 2002

I kind of did what busy is talking about on a page I made for my friend's band. The page is a work in process, I am still waiting for content but preview what I have here http://www.chumpchange.org/jeneva/

DaveyBoy's picture

They have: 453 posts

Joined: Feb 2003

Yes its possible :

Firstly in the iframe code put this :

allowtransparency="true" leftmargin="0" rightmargin="0" border=0 scrolling="auto" name="framenews" align="center" height="240" frameborder="0">

Then in the html file on the file to go in the frame, write this in the body tag :

style="background-color:transparent" leftmargin="10" topmargin="0" marginwidth="0" marginheight="0">

That should work Wink

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.