Text Decoration Underline Padding
How can you also then edit the line that is drawn the color you get on the line is easily specified as color.
Text decoration underline padding. Draws a 1px line across the text at its middle point. The possible values are auto under left and right. Draws a 1px line across the text at its baseline.
Sets this property to its default value. No line is drawn and any existing decoration is removed. Sets the color of the text decoration.
With text underline position we have yet another way to control the positioning of text decoration in relation to the glyphs. With auto the initial value browsers will usually place the decoration close to the text baseline. The source for this interactive example is stored in a github repository.
The text underline position property sets the placement of the underline on links or on text with text decoration. Franklin gothic medium arial narrow arial sans serif the second class should have the underline towards the right of the vertically aligned text. You should see an underline that is 2 pixels below.
These are the values specified in the w3c css text decoration module level 3 candidate recommendation. Then use the border property like so. Red but how does one edit the height of the line i e.
For example copy this code. The text decoration style property sets the style of the text decoration like solid wavy dotted dashed double. The browser will decide between placing the underline at the text s baseline or under it.
