7. The Case of the Single White Space

IN THIS CASE, WE’LL SEE HOW IMPORTANT IT IS TO be clear about exactly what you want in your rendered page, and how a seemingly benign single space can wreak havoc with a layout.

The Crime Scene

Nena Stefani’s jewelry business is really taking off. A self-proclaimed “Jane of all trades” and lover of all things creative, Nena learned web design and development in order to create her own website. However, she is stymied by the spacing problems that her page is giving her. She brings her code to the CSS Detective for help in identifying the sources of slightly off placement and spacing.

Initial snapshots

Nena’s design is clean and simple, and does a good job of incorporating all the features she needs, including ...

Get The CSS Detective Guide: Tricks for solving tough CSS mysteries now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.