Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
X-height
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Use in web design== In [[computing]] one use of x-height is as a unit of measurement in [[web page]]s. In [[Cascading Style Sheets|CSS]] and [[LaTeX]] the x-height is called an ''ex''. The use of ex in dimensioning objects, however, is less stable than use of the [[em (typography)|em]] across [[web browser|browser]]s. [[Internet Explorer]], for example, dimensions ex at exactly one half of em, whereas [[Mozilla Firefox]] dimensions ex closer to the actual x-height of the [[font]], rounded relative to the font's current [[pixel]] height. Thus, the exact ratio of ex to em can vary by font size within a browser if the determined values are rounded to the nearest whole unit. For example, a browser calculating an x-height of 45% on a font 10 pixels tall may round ex to either 4 pixels or 5 pixels or leave it at 4.5 pixels.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)