How to get rid border off window on IE

Discussion in 'CSS' started by ketting00, Mar 25, 2011.

  1. #1
    Hi,

    My website looks like it has borders all around when rendered in IE, but it looks fine in other browsers. How to get rid of this border-look-alike? It makes my site looks unprofessional, and most of visitors uses IE6 to IE8. Can this be achievable with CSS? I have really no idea about this.

    Thanks
     
    ketting00, Mar 25, 2011 IP
  2. IAreOwn

    IAreOwn Active Member

    Messages:
    46
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    95
    #2
    a link to your site would help.
     
    IAreOwn, Mar 25, 2011 IP
  3. PsyHost

    PsyHost Well-Known Member

    Messages:
    641
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    110
    #3
    Assuming your referring to borders around images - Add this to your CSS.

    img
    { border-style: none;
    }
     
    PsyHost, Mar 25, 2011 IP
  4. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Or you can add a reset stylesheet with your main stylesheet
    http://meyerweb.com/eric/tools/css/reset/

    
    <link rel="stylesheet" href="reset.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="style.css" type="text/css" media="screen" />
    
    Code (markup):
     
    Cash Nebula, Mar 26, 2011 IP
  5. ketting00

    ketting00 Well-Known Member

    Messages:
    782
    Likes Received:
    28
    Best Answers:
    3
    Trophy Points:
    128
    #5
    I've this problem solved in another forum. Just press the compatibility button on IE and the issue solved. That's idiot.

    But I have another issue also. Is there any tutorials out there to make website has different background like www.ign.com. I mean they have the header, the content, and the footer sections with different backgrounds. Just give me keywords for search on google and i would do the research myself.

    Thanks in advance
     
    ketting00, Mar 26, 2011 IP