SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Enthusiast
    Join Date
    Feb 2009
    Posts
    60
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Removing iframe default background & borders

    When you use "iframe" all other browsers except for IE insert the iframe with out and background color or any borders. In IE however the iframe is displayed with the default html plain white background and some inset borders. I've tried to use {border:none;border:0;background-color:none;background:transparent;} just about anything random that I can think of but none worked.

    Is there anyway top make iframe look as it does in IE just as it does in other browsers? And I apologize if my question is unclear.

  2. #2
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,761
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Hi, do you have any code to work with? Perhaps a link to the live page so we can debug the page? Try adding frameborder="0" to remove the frame borders though that is just a random guess just to see if it works (I'm curious )
    Always looking for web design/development work.
    http://www.CodeFundamentals.com

  3. #3
    SitePoint Enthusiast
    Join Date
    Feb 2009
    Posts
    60
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    here's an example of an iframe that I used

    http://spokewords.com/profile.sw?id=1

    where is says "Collection of Work" is the iframe.
    it looks beautiful in all except IE. My code is a little messy right now so it'll probably be a complicated debugging it.

  4. #4
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,761
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    I dno't think it is possible to remove it because the colors are set within an iframe and IE won't allow you to override the styles set. You'd have to actually change the styles in the iframe src page to get it fixed.
    Always looking for web design/development work.
    http://www.CodeFundamentals.com

  5. #5
    SitePoint Enthusiast
    Join Date
    Feb 2009
    Posts
    60
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yea I figured it'd be something like that, that's why I put a temporary image just to fill the background blue for IE, but you did notice the difference cross browsers right?

    Nice site by the way.
    "Age doesn't matter-I'm 17" so true I'm 20 and only been coding for 3months now.

  6. #6
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,761
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Thanks lol-I don't like my design all that much so I'm trying to do a really sexy redesign..fix uup some typos, etc.
    Yea I noticed the dfiferences..
    Always looking for web design/development work.
    http://www.CodeFundamentals.com


Tags for this Thread

Bookmarks

Posting Permissions

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