1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

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