..


Sponsored Links

font-size-adjust

The CSS attribute font-size-adjust is used to improve the readability of a text, altering the size of the text itself. Its value is expressed as the number and needs of the specific unit of measure (px, pt, em, cm,%).

This value indicates the proportion between the upper and the height of lettara "x" as a small character (this value is called x-height).

This property can be useful when in a document using different fonts of the same magnitude (eg. Font-size: 8pt). Despite having the same size you will notice that some fonts are more readable than others (for example, is more readable than Verdana Times New Roman).
By means of font-size-adjust you can correct this problem. For example you can define fonts for all the same "readability" of Verdana (by setting the x-height to 0.58).

The syntax is as follows:






 p







 {



    



 font-size-adjust: 0.58;







 }



Its possible values ​​are none (in which case the size of the font is specified as the default browser), or the decimal number (or less) to be evaluated.

The property is only supported by Gecko-based browser and is inherited.

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