

September 2017 Microsoft Business Intelligence, Phidiax Technology. This line sets the line height as 2, that means the spcing between line is 2em.28. This line set normal line height, so it should take the default line height value normal. The following example displays two paragraph, one with normal line-height and the next with line-height:2 Line-height 2em is equivalent to a line-height of 2 Line Height will adjust the spacing between each lines in a document, that is it works like line spacing. This line insert 120 pixel space before the starting of the first line only, next lines start from the left margin This line insert 60 pixel space before the starting of the first line only, next lines start from the left margin The following examples shows how to set text indent style to an html document. Text Indenting allows us to insert a specified length before the starting line of text. In vertical alignment baseline is the default value, that aligns the text to the baseline of the parent element. In Vertical Text Alignment you can control vertical positioning within the containing element. This paragraph show how to align:justify will display. In horizontal alignment you can again align text to right, left,Ĭenter and justify.

Justyfy sample : You can align Text in a document horizontally and vertically. The following example shows how to set different types horizontal alignment in an HTML document.

The above statment align the text to left side of the document. In horizontal alignment you can align text to right, left, center and justify. You can align Text in a document horizontally and vertically. The following examples will introduce a variety of Text styling and their usages in your CSS designing. You can manupulate Text in an HTML document in various ways. Text is still playing a major part in a web page, because most of the HTML document contain text.
