Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DIV padding issue #17

Closed
betagoo opened this issue Jul 18, 2014 · 2 comments
Closed

DIV padding issue #17

betagoo opened this issue Jul 18, 2014 · 2 comments

Comments

@betagoo
Copy link

betagoo commented Jul 18, 2014

$('.item').matchHeight();
When padding is set:
DIV[1] -> padding: 28px;
DIV[2] -> padding: 38px;
Works properly only when first DIV height is bigger than second DIV.
For example, works wrong when last DIV height is largest.
There is the problem with padding calculation.
There is the problem with the sequence of measurements.

@liabru
Copy link
Owner

liabru commented Jul 27, 2014

Can you provide a jsfiddle?

I couldn't reproduce this (see my fiddle http://jsfiddle.net/7vBRz/).

@betagoo
Copy link
Author

betagoo commented Jul 28, 2014

My mistake.
DIV-s should have set attribute overflov:auto;

@betagoo betagoo closed this as completed Jul 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants