By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,119 Members | 2,086 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,119 IT Pros & Developers. It's quick & easy.

Bottom margin doesn't display in div on ie6

just a feeling
P: 87
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
File Type: zip Html+Css.zip (1.6 KB, 82 views)
Nov 29 '07 #1
Share this Question
Share on Google+
7 Replies


Death Slaught
100+
P: 1,137
Try removing the auto.

- Death
Nov 29 '07 #2

just a feeling
P: 87
Thanks Death for ur replay. I did what u said but nothing changed !!

Any suggestions !
Nov 30 '07 #3

Death Slaught
100+
P: 1,137
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
Nov 30 '07 #4

just a feeling
P: 87
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.
Dec 1 '07 #5

Death Slaught
100+
P: 1,137
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
Dec 1 '07 #6

just a feeling
P: 87
Tried that before reading ur post !! the same problem.

Is it impossible or what ?
No body knows how can I solve this IE bug ?
Dec 1 '07 #7

Death Slaught
100+
P: 1,137
Yes it's possible, I have no idea why it's not working, and yes there's someone who should know this.

- Death
Dec 1 '07 #8

Post your reply

Sign in to post your reply or Sign up for a free account.