Site not aligned properly in Internet Explorer (Any version)

Discussion in 'HTML & Website Design' started by Guthix121, Jun 8, 2010.

  1. #1
    http://www.unblockedproxies.net/

    If you look at Internet Explorer, there is no padding on the left side. In addition, the header bar has a little padding on top which doesn't belong.

    Can somebody please help me to make it look like it should (like in every other browser?)
     
    Guthix121, Jun 8, 2010 IP
  2. Guthix121

    Guthix121 Well-Known Member

    Messages:
    1,078
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    105
    #2
    I got it working, however there is still a little padding above the header bar that I found annoying. Any help?
     
    Guthix121, Jun 9, 2010 IP
  3. atpaz

    atpaz Member

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #3
    you need a CSS file to fix that, people call it IE Fix. At my experience, some time you just need to add display:inline rule for floating element
     
    atpaz, Jun 9, 2010 IP
  4. Guthix121

    Guthix121 Well-Known Member

    Messages:
    1,078
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    105
    #4
    What's the proper code for IE only fixes?
     
    Guthix121, Jun 9, 2010 IP
  5. atpaz

    atpaz Member

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #5
    i had check on IE 8 and seems look fine, i don't see difference compared with Firefox 3

    anyway, you can add IE online css rule like this :

    <!--[if IE 6]>
    <style type="text/css">
    img, div, a, li, ul { margin-top:2px }
    </style>
    <![endif]-->

    for fixing IE gap, you can google it with "Fixing IE 5/6 Doubled Float-Margin Bug" keyword
     
    atpaz, Jun 9, 2010 IP
  6. diggathedog

    diggathedog Peon

    Messages:
    235
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I thought it was:


    <!--[if IE]>
    <echo "If you are using IE, then download something else">
    <![endif]-->

    ?! :)
     
    diggathedog, Jun 10, 2010 IP