Quantcast
Viewing all articles
Browse latest Browse all 290743

Impossible to create a transparent background page to insert into an iframe

Hi,

 

I am trying to insert a page created in Muse inside another page by using an iframe in an HTML inclussion. I want it to be transparent so the background of the container page shows thru. The problem is Muse always gives a background color to any page it does, so the iframed page background is no transparent.

 

My iframe code is:

<iframe src="biografia2.html" width="630" height="566" seamless frameborder="0"></iframe>

And the biografia2 page loads its corresponding CSS file that begins with:

 

html

{

    background: #D9D9D9;

}

If after exporting the site I remove these lines in the CSS file, the iframe appears transparent.

 

 

This lines are generated because in the Muse editor, when nothing is selected, so you have the page properties in the toolbar, the last control is the colour of the background of the browser, but you can't set this colour to null, so the page always has a colour. I think this is a bug in Muse that should be corrected.

 

Until then, the only solutions I can see are removing the mentioned lines manually after exporting the HTML or creating the iframed page without using Muse.


Viewing all articles
Browse latest Browse all 290743

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>