Меню
×
   ❮     
HTML CSS JAVASCRIPT SQL PYTHON PHP КАК СДЕЛАТЬ
     ❯   

CSS Справочники


CSS Свойства





text-underline-position



Example

Set the position of underline text decorations:

div.a {
  text-decoration: underline;
  text-underline-position: auto;
}

div.b {
  text-decoration: underline;
  text-underline-position: under;
}
Try it Yourself »

Definition text-underline-position

Подработка: Перевод страницы

The text-underline-position property specifies the position of underline text decorations.

Show demo ❯

Default value: auto
Inherited: yes
Animatable: no. Read about animatable
Version: CSS3
JavaScript syntax: object.style.textUnderlinePosition="under" Try it

Browser Support text-underline-position

The numbers in the table specify the first browser version that fully supports the property.

Property
text-underline-position 33.0 79.0 74.0 12.1 20.0


CSS Syntax text-underline-position

text-underline-position: auto|under|from-font|left|right|initial|inherit;

Property Values text-underline-position

Value Description Play it
auto Default value. The browser sets the position of the underline Demo ❯
under Sets the underline below the alphabetic baseline Demo ❯
from-font If the font file includes information about underline position, use that value. If not, use auto
left In vertical writing mode the underline will be placed to the left of the text. In horizontal writing mode the underline will be placed as auto
right In vertical writing mode the underline will be placed to the right of the text. In horizontal writing mode the underline will be placed as auto
initial Sets this property to its default value. Read about initial
inherit Inherits this property from its parent element. Read about inherit

Related Pages text-underline-position

CSS tutorial: CSS Text Decoration

HTML DOM reference: textDecoration property



×

Связаться с отделом продаж

Если вы хотите использовать услуги schoolsw3 как образовательное учреждение, команда или предприятие, отправьте нам электронное письмо:
sales@schoolsw3.com

Сообщить об ошибке

Если вы хотите сообщить об ошибке или внести предложение, отправьте нам электронное письмо:
help@schoolsw3.com

Schoolsw3 оптимизирован для обучения и подготовки. Примеры могут быть упрощены для улучшения чтения и обучения. Учебники, ссылки и примеры постоянно проверяются, чтобы избежать ошибок, но мы не можем гарантировать полную правильность всего контента.
При использовании Schoolsw3 вы соглашаетесь прочитать и принять наши условия использования,
политику использования файлов cookie и конфиденциальности.

Авторское право 1999- © Copyright. Все права защищены. Schoolsw3 работает на SW3.CSS.