Chapter 5: Working with Measurement Values

From creating a layout to working with line-heights and font-sizes, at some point you will need to use a measurement value. Even if you have already have a measurement favorite that you are currently using, odds are that there is another value that be a better fit for your current project.

In this chapter, you learn about the various options that are available for measurement, including pixels, percentages, em units, and more.


The measurement calculator tool can be used to help you see the differences in size values in relation to text.


Download Code

Code samples for this chapter include a few HTML, CSS, JavaScript, and image files that can be used on a webserver.