Visit Mozilla.org

DOM:element.clientLeft

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

Ten artykuł obejmuje funkcje wprowadzone w Firefoksie 3


« 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

clientLeft is the width of the left border of an element in pixels. It includes the width of the vertical scrollbar if the text direction of the element is right–to–left and if there is an overflow causing a left vertical scrollbar to be rendered. clientLeft does not include the left margin or the left padding.

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

[edytuj] Składnia i wartości

var intElemClientLeft = element.clientLeft;

intElemClientLeft is an integer corresponding to the clientLeft of element in pixels. clientLeft 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:clientLeft.png

Image:clientLeftRtl.png

[edytuj] Specyfikacja

Nie jest cześcią specyfikacji W3C.

[edytuj] Notatki

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

[edytuj] References