Peter, On Mar 26, 2006, at 2:55 AM, Peter Tynan wrote:
> Page: http://www.loustalholidays.com/tariff/index.html > Style: http://www.loustalholidays.com/tariff/style.css > > I have been working on a site for a family friend and they wanted an > iframe added showing a page from http://www.holiday-rentals.com that > will (when their order has been processed) display the availability of > their holiday gite (holiday-rentals.com are OK with this, they even > provided the code). > > Now I have used a div set a background image for the text above and > below the iframe but here is the interesting part in FireFox 1.5.0.1 > on XP the background image is also applied to the contents of the > iframe - I quite like this effect - does anybody know how (if at all) > to get this effect with other browsers? For ie/win you must add the proprietary 'allowtransparency="true"' attribute to the iframe element. However, if a background-color is specified in the document inside in the iframe it will cover your background image. The only way you can control the look of the document inside the iframe is if the data provider will insert a stylesheet link back to your website for you or allow you to upload one to their server. We're doing a project at work to manage just such a process. hth -- Roger Roelofs "Remember, if you’re headed in the wrong direction, God allows U-turns!" ~Allison Gappa Bottke ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/