Page 1 of 1

transparent IFRAME ?

Posted: Sun Sep 28, 2003 11:23 am
by toms100
basically i have my site:
http://arp.evilmonkeh.co.uk/ (for bfclan)
and in the middle it has news
now i want to put an IFRAME in there, but make it so that the text moves over the current background (the helicopter) so it still looks all nice....
is this possible?

i would appreciate some help;)

cheers

Tom

Posted: Sun Sep 28, 2003 1:42 pm
by Cruzado_Mainfrm
add this property to the Iframe: style="background-color: transparent"

Posted: Mon Sep 29, 2003 3:08 pm
by Unipus
That will only work in IE.

Posted: Mon Sep 29, 2003 3:10 pm
by Unipus
And now that I've looked at the page, why not just make a static background image for that section that's already faded down? That's how we did it in the olden days, and it still works.

Finally, consider using a DIV with overflow: auto instead of an iframe.

Posted: Mon Sep 29, 2003 4:15 pm
by toms100
Unipus wrote:And now that I've looked at the page, why not just make a static background image for that section that's already faded down? That's how we did it in the olden days, and it still works.

Finally, consider using a DIV with overflow: auto instead of an iframe.
how does one create a static background image?
thx loads for help so far :)

Tom

Posted: Mon Sep 29, 2003 6:15 pm
by Unipus
Well just crop the background you have there down to exactly the area that the table will take up, and then set it as the background to that particular table or div. Do it that way and you should be able to bring down file size a bit, too... although it takes a bit more planning to get all of your images to line up just right, if you need precision.

Posted: Tue Sep 30, 2003 4:28 pm
by cybaf
for static backgrounds I always use a div with an image in it. The div's z-index is 0 and all other divs are z-index above 0.

//cybaf