When we float a fixed width div element to the left, the margin-left
's value is doubled. Is there any solution available?
I'd prefer solutions not requiring JavaScript please.
When we float a fixed width div element to the left, the margin-left
's value is doubled. Is there any solution available?
I'd prefer solutions not requiring JavaScript please.
If I remember correctly, setting
display: inline
to this DIV will solve the problem.
-- edit:
Check this article, which will help you out of this problem.. ie6 double float margin bug