Yahoo Italia Ricerca nel Web

Risultati di ricerca

  1. 7 lug 2023 · The line-height CSS property sets the height of a line box. It's commonly used to set the distance between lines of text. On block-level elements, it specifies the minimum height of line boxes within the element. On non- replaced inline elements, it specifies the height that is used to calculate line box height.

  2. 5 set 2011 · The line-height property defines the amount of space above and below inline elements. That is, elements that are set to display: inline or display: inline-block. This property is most often used to set the leading for lines of text. The line-height property can accept the keyword values normal or none as well as a number, length, or percentage.

  3. 22 feb 2013 · 16. No single answer. Unfortunately, there's no single value of line-height ( leading) that is optimal for all situations. An optimal range is probably roughly 1.3–1.7, but to select an optimal value requires we look at the specific font in use and the width of lines of text (among other things).

  4. 28 lug 2017 · The line-height CSS property sets the amount of space used for lines, such as in text. On block-level elements, it specifies the minimum height of line boxes within the element. On non-replaced inline elements, it specifies the height that is used to calculate line box height. all elements. It also applies to ::first-letter and ::first-line.

  5. /* setting a line-height of 1.3em to a paragraph element with a font size of 1em*/ /* with a percentage */ p { line-height: 130%} /* with a length */ p { line-height: 1.3em} /* with a number */ p { line-height: 1.3} Notes Remarks. Line height is the distance between the descender of the font and the top of the internal leading of the font.

  6. 10 ago 2009 · p {font:normal normal 11pt Verdana,Arial,sans-serif; line-height:1.3em;} sub {vertical-align:baseline; position:relative; top:0.3em; line-height:0;} Of course, when we do that we’re assuming there will always be other (non-subscript) text on every line, to establish the correct line spacing.