John Magnolia
John Magnolia

Reputation: 16793

Click label causes img to move up

I have a browser problem in IE7 which you can view here: http://jsfiddle.net/SZDDm/1/

The problem is when you click the label surrounding the image and checkbox, the image will move up in position.

What is causing this?

Upvotes: 3

Views: 161

Answers (1)

Bala
Bala

Reputation: 691

In class #searchDeals .networks label change height to 56px. That will fix the issue.

The problem is the margin: 4px auto which you have for INPUT.

Just give it margin: 4px auto 0 auto.

http://jsfiddle.net/SZDDm/23/

For the reason this happens, check this link: http://www.brunildo.org/test/margins_clear.html

Upvotes: 4

Related Questions