Skip to content

innerHeigth() <> heigth() #23

@boomsya

Description

@boomsya

hi. i try to use plugin
but i have some problem - selected objectsjQuery('.pg-csv-box').equalHeights();have real max height 291px but plugin returns 316px because objects with margin and padding.

when i modied plugin to show height and innerheight:

console.log(height);
console.log('height'+$(this).height());

it was returned:

316
height291
311
height286
310
height285

then i modified src to var height = $(this).height(); and height at now calculated OK

//sorry for scary english :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions