Chapter 4 Navigation

Unless you limit yourself to one-page websites, you’ll need to incorporate navigation into your design. In fact, navigation is among the most important parts of any web design, and requires a great deal of thought if visitors are to move around your site easily. Making site navigation easy is one area in which CSS really comes into its own. While you could use images for your navigation, this practice can have considerable downsides. Navigation created from images means that it may be less accessible, as the images can’t be resized easily to make the text larger. Zooming images of text can also lead to hard-to-read text. In addition, if your site is built using a CMS, when you want to add a new navigation item you’ll ...

Get The CSS3 Anthology, 4th Edition 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.