PDA

View Full Version : Inline frame ??



Rory
01-05-2006, 10:33 PM
Hello all

I don't know this is a bug or something else, but what i know is the next:
when you use a inline frame, there is no possible way to make the background transipirant so you can only tekst with maybe "if needed a scrollbar".
So i'm wondering is there a way to make a inline frame without a bg ??
a transpirant background

i hope you know what i mean

greetzz Rory

VodaHost
01-06-2006, 12:18 AM
There is no such thing as a transparent background. Please try again.

Rory
01-06-2006, 11:32 PM
i'm realy srr but there is
the bg of your inline frame is normaly white and you can make it transpirant with a html code normaly i don't know it out of my head because its on my other computer thats getting repared but i know its possible

greetzz Rory

Watdaflip
01-07-2006, 05:41 AM
Dreamweaver has an attribute for iframes, "allowtransparency", but I couldn't get it to work. I think it either only works with an older webbroswers, or just not on IE and Firefox

Also, if the src of the iframe doesn't have a background assigned, then with Firefox it appears transparent

navaldesign
01-07-2006, 06:42 AM
Hello all

I don't know this is a bug or something else, but what i know is the next:
when you use a inline frame, there is no possible way to make the background transipirant so you can only tekst with maybe "if needed a scrollbar".
So i'm wondering is there a way to make a inline frame without a bg ??
a transpirant background

i hope you know what i mean

greetzz Rory

You can do what you want in this way:

1. Right Click on the Iframe, select Object HTML, and insert the following in the Inside Tag field:

allowtransparency="true" background-color="transparent"

2. This is not enough. Indeed, if you preview at this point, your Iframe will seem not transparent. Establish the link to the page that will contain the text or whatever else you want to display in your frame. Now switch Bluevoda to that page, and insert the following code in the Between Head field;

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

This will also set the content page background also to transparent.

Now preview and you will see that you have exactly what you wanted: a transparent I-frame.