..


Sponsored Links

Can I manage the spacing with CSS?

In the HTML markup you can not manage properly spacing. Fortunately, thanks to CSS, you can manage successfully in a very cut and the 'line spacing.

Leading is a key element in the readability of a document as it allows you to manage the space between lines of text.

The property to the definition is line-spacing and height, as its name suggests, allows you to define very precisely the height of the line of text. Here's an example:

 



 p {



  



 font-family: arial;



  



 font-size: 12px;



  



 line-height: 15px;







 }

 
Obviously the size of line-height must be higher than those set by the font-size font.

In the same category ...
E-Learning
CSS (Course) CSS (Course)
Web Design and Accessibility according to W3C CSS and XHTML. Starting from 29 €.
HTML (Course) HTML (Course)
The markup language for the Web from 29 €.
Webmaster Advanced (Course) Webmaster Advanced (Course)
Become a professional Webmaster. From 39 €.
Sponsored Links