PDA

View Full Version : Transparent iFrame :|



Recursion
16-06-2007, 06:32 AM
Hello,

I have a transparent iframe with:



allowtransparency="true"


Now it works all fine and dandy in FF but not IE :| How would I do it? I searched Google but it tells me to put:


STYLE="background-color:transparent"

in my body tag. But if I do that it will screw over my current colour layout, besides, when I tried it my iframe still wan't transparent!! lol

Please help!!
+REP

;;Tom

Moved by opensourcehost (Forum Moderator) from Web Designing: Please post in the correct forum next time, thanks :).

Blob
16-06-2007, 08:23 AM
You will fail. with iFrames.

Use PHP Includes or AJAX

Mr Macro
16-06-2007, 08:27 AM
Agreed.

Recursion
16-06-2007, 09:46 AM
I wanted to use PHP Includes but I don't think there is a way to limit their width and height?

Hitman
16-06-2007, 10:19 AM
I wanted to use PHP Includes but I don't think there is a way to limit their width and height?
The box, div or table width and height is editable?

Recursion
16-06-2007, 10:24 AM
the div is expandable but the Div wont expand with the include :/

ScottDiamond
16-06-2007, 10:41 AM
You are a blight on WebDesign.

Edited by opensourcehost (Forum Moderator): Please don't be rude.

Ini
16-06-2007, 12:09 PM
I want to be able to do this too..

I am making a site for a friend and they want to be awkward.

I used PHP includes but they moaned they wanted to have a scroll bar to go down with, so i need to make an iFrame transparent unless theres another way of doing it wihtout iFrames

Recursion
16-06-2007, 12:54 PM
You are a blight on WebDesign.

fgs, leave me alone. I cant believe your sad enough to e-bully.

Hitman
16-06-2007, 12:58 PM
fgs, leave me alone. I cant believe your sad enough to e-bully.Ahh don't worry, Scotts the forum *******. :)

Invent
16-06-2007, 12:59 PM
the div is expandable but the Div wont expand with the include :/

Then it's coded badly, if I coded it, I'll fix it later.

Recursion
16-06-2007, 12:59 PM
I know, anyway, still need help ;)

DUB
16-06-2007, 09:03 PM
I done this before, i think what i done was in the head of all the pages you want inside the iframe put


<style type="text/css">body, html{background-color:transparent;}</style>

Eric30
17-06-2007, 04:01 PM
You will fail. with iFrames.

Use PHP Includes or AJAX

Depends on what you want to do, iframes can be very useful.

However, PHP (Or AJAX) & CSS would be the best way to do a layout.

Ini
17-06-2007, 04:26 PM
Got it to work Thanks :P

Want to hide these adverts? Register an account for free!