You need to style the document(s) that appear in the iframe with a black background, rather than the iframe itself.
Last edited by Ezzaral; Mar 8th, 2010 at 2:45 pm. Reason: Snipped "fake sig" link. Please restrict such links to your site-wide user signature, which can be edited from the user control panel.
Yes, you can style the iframe contents as per usual, but it can be difficult to exactly fill the iframe exactly. Any gap between the content and the outside of the iframe get colored white and the iframe ignores any background styles (maybe it ignores styles altogether; I don't know).
What I do know is that adding the allowtransparency="true" attribute to the iframe allows the underlying background to show through, as I mentioned above.
I got sick to death of threads all over the internet that asked the question but never had the answer, so when I found the answer I went around and rejuvenated a bunch of dead threads, including this one.
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.