Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Senior Coder
    Join Date
    May 2004
    Posts
    1,457
    Thanks
    15
    Thanked 0 Times in 0 Posts

    iframe background color

    I have an iframe with the id="mainimage" the correct background color for the iframe is showing correctly on firefox but not internet explorer

    what am i doing wrong?



    Code:
    #mainimage{
    		width:410px;
    		height:500px;
    		float:right;
    		padding:0px;
    		margin:0px;
    		background-color:#90BADE;
    		}

  • #2
    eak
    eak is offline
    Regular Coder eak's Avatar
    Join Date
    Jun 2002
    Location
    Nashville, TN
    Posts
    354
    Thanks
    0
    Thanked 26 Times in 26 Posts
    The background color of the page in the iframe is probably showing in IE.
    Have you tried a transparent iframe?
    eak | "Doing a good deed is like wetting your pants; every one can see the results, but only you can feel the warmth."


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •