Visit Mozilla.org

DOM:element.clientTop

z Mozilla Developer Center, polskiego centrum programistów Mozilli.

« Dokumentacja Gecko DOM

UWAGA: Tłumaczenie tej strony nie zostało zakończone.
Może być ona niekompletna lub wymagać korekty.
Chcesz pomóc? | Dokończ tłumaczenie | Sprawdź ortografię | Więcej takich stron...

Spis treści

[edytuj] Podsumowanie

clientTop is the width of the top border of an element in pixels. It does not include the top margin or padding.

Currently, Mozilla 1.x, Seamonkey 1.x and Firefox 1.x do not support clientTop.

[edytuj] Składnia i wartości

var intElemClientTop = element.clientTop;

intElemClientTop is an integer corresponding to the clientTop of element in pixels. clientTop is read–only.


[edytuj] Przykład

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.

Image:BirmanCat.jpgAll Birmans have colorpointed features, dark coloration of the face, ears, legs and tail.

Cat image and text coming from www.best-cat-art.com

padding-bottom

LeftTopRightBottommargin-topmargin-bottomborder-topborder-bottom

Image:clientTop.png

[edytuj] Specyfikacja

clientTop is part of the MSIE's DHTML object model. clientTop is not part of any W3C specification or technical recommendation.

[edytuj] Notatki

clientTop was first introduced in the MS IE DHTML object model.

[edytuj] Odniesienia