Вебмастер
Санкт-Петербург
Частный вебмастер Услуги Контакты Справочная информация Статьи и публикации Полезные сервисы Букварь вебмастера
   Букварь вебмастера

Атрибут text-align


text-align Attribute

{ text-align: left | right | center | justify}

This property describes how text is aligned within the element. The actual justification algorithm used is UA and human language dependent.

This attribute is inherited.

Settings

Example

DIV.center { text-align: center }

Since this property inherit, all block-level elements inside the 'DIV' element with 'CLASS=center' will be centered. Note that alignments are relative to the width of the element, not the canvas.

Смотрите далее: text-decoration »

  Атрибуты CSS