Question

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.

Was it helpful?

Solution

If I remember correctly, setting

display: inline

to this DIV will solve the problem.

-- edit:

details on this bug

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top