Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How to get the actual height of a parent div? Re: How to get the actual height of a parent div?

#122400
neerukool
Participant

If you want everything of the div to be calculated, pass value ‘true’.

so your code will look like: .outerwidth(true) or .outerHeight(true).

It will calculate the margin too. :)