The text lines in this paragraph would have 1.5 lines of spacing regardless of font size. For example, you can create text with the word processor equivalent of 1.5 lines like this: Relative measurements are best with line-height, however, because they will work with any size of type. The text in this paragraph would have 26 points of leading. You can designate text to have 26 points of leading like this: Alternatively, on the line below the text, add any number of characters for heading level 1 or - characters for heading level 2. Line-height uses the standard CSS units of measurement, just like letter-spacing. The space between lines of text is called the leading, a term loosely inherited from print publishing. For example, for 12-point type, a browser will place about 1 point of vertical space between lines. Use the line-height property in CSS to do so.īrowsers by default will create a certain amount of space between lines to ensure that the text is easily readable. Search MS Office A-Z | Search Web Pages/ Design A-Z CSS- Space- Change The Spacing Between Lines Home CSS Space Change The Spacing Between Lines
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |