{"name":"outerHeight","type":"method","title":".outerHeight()","deprecated":null,"removed":null,"desc":"Get the current computed height for the first element in the set of matched elements, including padding, border, and optionally margin. Returns a number (without \"px\") representation of the value or null if called on an empty set of elements.","categories":["css","dimensions","manipulation/style-properties","version/1.2.6"],"entries":[{"return":"Number","signatures":{"added":"1.2.6","argument":{"desc":"A Boolean indicating whether to include the element's margin in the calculation.","name":"includeMargin","optional":"true","type":"Boolean"}},"examples":{"desc":"Get the outerHeight of a paragraph.","code":"\nvar p = $( \"p:first\" );\n$( \"p:last\" ).text(\n \"outerHeight:\" + p.outerHeight() +\n \" , outerHeight( true ):\" + p.outerHeight( true ) );\n","css":"\n p {\n margin: 10px;\n padding: 5px;\n border: 2px solid #666;\n }\n","html":"\n
Hello
\n"},"longdesc":"\nThe top and bottom padding and border are always included in the .outerHeight() calculation; if the includeMargin argument is set to true, the margin (top and bottom) is also included.
This method is not applicable to window and document objects; for these, use .height() instead.
\n
\n