My page has a completely transparent background achieved by using:
body {
background:none transparent!important;
}
When I display this page in a transparent iframe on another site, I can see the website's background through the page.
However, if I access the page directly, the background appears white. Is there a way to change this to black?
Here is the code for the website:
<div class="page-background ">
<div class="header">
<span>Website menu here</span>
<span><a href="index.html">Book</a></span>
<span><a href="about.html">About</a></span>
<span><a href="contact-us.html">Contact Us</a></span>
</div>
<iframe src="http://localhost:4500" allowtransparency="true"></iframe>
</div>