i have a div with style (float:left and margin-left:10px).
It working fine in firefox, chrome, safari but in ie it will take extra space from the left side. How to remove that space in ie6 without using hacking.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is the IE Double Margin Float Bug and you need a hack.
The good news is that it is a valid hack with no side effects.
Set
display: inline. This will fix the bug but, since the element is floating, not cause the element to display inline.