codefund.com

How to Make an iFrame Background Blank

104 41
    • 1). Log into your Web account with your Web host. Access the HTML code for the page that has the iframe object you want to make blank.

    • 2). Set the body background color of the overall document to transparent
      Example:

      <style type="text/css">
      body{background-color: transparent}
      </style>

      The “style” tags must be placed within the “head” tags.

    • 3). Incorporate the “allowTransparency” attribute into the “iframe” element tag and set it to true.

      Example:

      <iframe src="FILENAME.EXTENSION" width="400" height="150" allowTransparency="true">
      </iframe>

Source...
Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time
You might also like on "Technology"

Leave A Reply

Your email address will not be published.