Background Border Classification Dimension Font Generated Content List and Marker Margin Outline Padding Positioning Table Text Pseudo-classes Pseudo-elements !important  

Left


Свойството left определя левия ръб на елемента.

Пример:

This example sets the left edge of the paragraph 20 px to the right of the left edge of the window:
p
{
position: absolute;
left: 20px
}

This example sets the left edge of the paragraph 20 px to the left of the left edge of the window:
p
{
position: absolute;
left: -20px
}


Възможни стойности:

Стойност Описание
auto Стойност по подразбиране. Оставя браузъра да изчисли лявата позиция.
% Настройва лявата позиция като % от левия ръб на прозореца.
length Настройва лявата позиция в px, cm и др. от левия ръб на прозореца. Негативните стойности са позволени.
 
 
Copyright © 2007 RARO Design & Develop