fr0z3n Posted October 26, 2010 Share Posted October 26, 2010 I'm using an iFrame to make WHMCS fit on my site, however i cant add any details to the index.php file without it saying the file is corrupt. I have already made (as far as im aware) the required changes in the style.css file and the iframe component itself (i am using joomla) allowtransparency has been set to true in the iframe and i have set background-color: transparent; in the css file (to all backgrounds) It works perfectly in firefox however is not working in Internet Explorer, and comes up with a white background. the following post was on another forum: but its still showing up white, unlike the subpages where it worked in every other instance..im thinking i might have to alter the code in the external.htm file itself Yes, you do. Without a correct DOCTYPE, user agents will fallback to quirky behaviour. In this mode, IE defaults to a white background not a transparent one. Either set a DOCTYPE at the very start of the document: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <!-- ... -->or explicity set the background-color CSS property to transparent: <head> <style type="text/css"> html, body { background-color: transparent; } </style> <!-- ... --> </head>Either way, you still need the proprietary allowtransparency attribute. I cant edit the index.php file without it becoming corrupt. Any workaround? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.