--- title: element.clientHeight slug: Web/API/Element/clientHeight tags: - DOM - Dokumentacja_Gecko_DOM - Gecko - Wszystkie_kategorie translation_of: Web/API/Element/clientHeight ---
{{ ApiRef() }}
Zwraca wewnętrzną wysokość elementu w pikselach, włączając marginesy wewnętrzne ( padding ), ale bez poziomego paska przewijania, obramowań i marginesów zewnętrznych ( margin ).
clientHeight można wyliczyć jako (właśność height CSS) + (padding w CSS) - (wysokość poziomego paska przewijania (jeśli jest)).
var h = element.clientHeight;
h to liczba całkowita reprezentująca clientHeight elementu w pikselach.
clientHeight jest tylko do odczytu.
padding-top
Gentle, individualistic and very loyal, Birman cats fall between Siamese and Persian in character. If you admire cats that are non aggressive, that enjoy being with humans and tend to be on the quiet side, you may well find that Birman cats are just the felines for you.
All Birmans have colorpointed features, dark coloration of the face, ears, legs and tail.
Cat image and text coming from http://www.best-cat-art.com/
padding-bottom
Nie należy do żadnej ze specyfikacji W3C.
clientHeight jest niestandardową właściwością, wprowadzoną w modelu obiektowym przeglądarki Internet Explorer.
{{ languages( { "en": "en/DOM/element.clientHeight", "fr": "fr/DOM/element.clientHeight", "ja": "ja/DOM/element.clientHeight", "zh-cn": "cn/DOM/element.clientHeight" } ) }}