Big DIV / CSS problem only in Internet Explorer

Discussion in 'HTML & Website Design' started by AngelaR, Jul 7, 2008.

  1. #1
    Hi guys,

    I'm having a huge problem here, Please see this site in Internet Explorer (any version) it is rendering the div's all messed up! Any idea what I can do or add to the CSS Style Sheet to make it work?

    Here is my css stylesheet right now:

    #services {
    position : absolute;
    left: 80%;
    top: 80px;
    width : 400px;
    z-index : 3;
    color : #000000;
    padding : 3 px;
    }

    <!--[if IE]>
    <style>
    #services {
    margin: 5em;
    padding: 4em;
    border: 1em solid green;
    width: 40em
    }
    html>body div {
    width: 30em
    }
    </style>
    <![EndIf]-->


    IE seems to be adding a huge line break at the top where Services is supposed to be. I tried Firefox and Safari and they both view fine......

    Any help would be gladly appreciated, and rep will of course be left!
     
    AngelaR, Jul 7, 2008 IP
  2. steelfrog

    steelfrog Peon

    Messages:
    537
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Looks about the same in Firefox 3 and Internet Explorer 6 here.
     
    steelfrog, Jul 7, 2008 IP
  3. AngelaR

    AngelaR Guest

    Messages:
    1,579
    Likes Received:
    82
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Can you check again? It seems I had the wrong version uploaded?
     
    AngelaR, Jul 7, 2008 IP
  4. danger9918

    danger9918 Well-Known Member

    Messages:
    1,612
    Likes Received:
    55
    Best Answers:
    0
    Trophy Points:
    165
    #4
    danger9918, Jul 7, 2008 IP