Bottom margin doesn't display in div on ie6

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • just a feeling
    New Member
    • Aug 2007
    • 86

    Bottom margin doesn't display in div on ie6

    Peace,

    The problem is that IE6 doesn't display the bottom margin in the wrapper div, though FF displays it correctly. I've uploaded My html and Css files( BTW, they are validated by W3C validator).

    I really appreciate any help.
    Thanks.
    Attached Files
  • Death Slaught
    Top Contributor
    • Aug 2007
    • 1137

    #2
    Try removing the auto.

    - Death

    Comment

    • just a feeling
      New Member
      • Aug 2007
      • 86

      #3
      Thanks Death for ur replay. I did what u said but nothing changed !!

      Any suggestions !

      Comment

      • Death Slaught
        Top Contributor
        • Aug 2007
        • 1137

        #4
        I can't believe I didn't relize this before. Odd it's happening though.

        Your

        * {
        margin:0;
        padding:0;
        }

        is causing the problem.

        I find it really strange though that your "wrapper" didn't "overide" so to speak the inheritence. Therefor i'm not completely sure what to tell you about it, but that was your problem, just remove the margin:0, and it should work.

        Thanks, Death

        Comment

        • just a feeling
          New Member
          • Aug 2007
          • 86

          #5
          Working !!
          Thanks a million Death, but I have a bad news. Removing ( margin:0 ) caused many other problems becuase of the extra margins some browsers add !

          Is there another way to do it ? Sorry 4 bothering u and if anyone knows the answer, plz help.

          Comment

          • Death Slaught
            Top Contributor
            • Aug 2007
            • 1137

            #6
            Np it's what I'm here for.

            Like I said it's odd that your "wrapper" div isn't "overiding" the inherited values. However, now that I think of.........try adding your padding:0, and margin:0, into your body rule.

            Thanks, Death

            Comment

            • just a feeling
              New Member
              • Aug 2007
              • 86

              #7
              Tried that before reading ur post !! the same problem.

              Is it impossible or what ?
              No body knows how can I solve this IE bug ?

              Comment

              • Death Slaught
                Top Contributor
                • Aug 2007
                • 1137

                #8
                Yes it's possible, I have no idea why it's not working, and yes there's someone who should know this.

                - Death

                Comment

                Working...