This method is not applicable to window and document objects; for these, use.height () instead. La propiedad CSS padding establece el espacio de relleno requerido por todos los lados de un elemento. If called on an empty set of elements, returns undefined (null before jQuery 3.0). This translation is incomplete.

Please help translate this article from English Resumen. This method is not applicable to window and document objects; for these, use.width () instead. Returns the height of the element, including top and bottom padding, border, and optionally margin, in pixels. Returns the width of the element, including left and right padding, border, and optionally margin, in pixels. If called on an empty set of elements, returns undefined (null before jQuery 3.0).