Property Value Description auto default The browser will decide the position of underline below text.
What is text-underline-position. Syntax in Text Underline. Étant donné que la propriété text-underline-position hérite et nest pas réinitialisée par la propriété raccourcie text-decoration il peut être approprié de définir sa valeur à un niveau global. The text-underline-position property is used in CSS and certain HTML elements.
Par exemple la valeur inférieure peut être appropriée pour un document avec beaucoup de formules chimiques et mathématiques qui font un large usage des indices. The CSS -ms-text-underline-position Microsoft extension property specifies the default position of the underline which is set using the CSS text-decorationunderline. Text-underline-position La propriété text-underline-position définit la position du soulignement utilisé lorsque la propriété text-decoration prend la valeur underline.
Applicable principalement aux langues asiatiques affichées dans des colonnes verticales. As of early 2020 this is only supported in Safari 121 and Firefox 70. Once you apply an underline for an element using text-decoration with the value of underline you can say how far that line should be from your text using the text-underline-offset property.
Use one of these keyword values. CSS text-underline-position specifies the placement of the underline on links or on the text. Text-underline-position and text-underline-offset are enhancing features to add on to the underline provided by the property text-decoration.
Underline also known as underscore text is often used to emphasize a word or phrase within a sentence. Text-underline-position The text-underline-position CSS property specifies the position of the underline which is set using the text-decoration propertys underline value. Use this property to force text-decoration underlines to be below the baseline of characters so that the underline does not cross over letter descenders.
Best of css html and javascript. The CSS text-underline-position property defines the position of the underline on the element with the text-decoration underline value specified. The text-underline-offset property in CSS sets the distance of text underlines from their initial position.