Remove iframe border with CSS

Discussion in 'CSS' started by LanceT, Feb 3, 2008.

  1. #1
    So how do I do it? It seems the following code

    iframe {
    border: 0px solid #ffffff;
    }

    works in Firefox, but not in IE.

    Also I know how to do it with HTML, but I want a CSS way. If it's not possible, please also inform me as well.

    Please help!
     
    LanceT, Feb 3, 2008 IP
  2. soulscratch

    soulscratch Well-Known Member

    Messages:
    964
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    155
    #2
    Unfortunately afaik the only way is to use the (deprecated?) frameborder attribute and set it to 0.
     
    soulscratch, Feb 3, 2008 IP