Chapter 11. Using CSS to Do More with Lists, Text, and Navigation

WHAT YOU’LL LEARN IN THIS CHAPTER:

• How the CSS box model affects lists

• How to customize the list item indicator

• How to use list items and CSS to create an image map

• How navigation lists differ from regular lists

• How to create vertical navigation with CSS

• How to create horizontal navigation with CSS

In Chapter 5, “Working with Fonts, Text Blocks, and Lists,” you were introduced to three types of HTML lists, and in Chapter 9, “Working with Margins, Padding, Alignment, and Floating,” you learned about margins, padding, and alignment of elements. In this chapter, you will learn how margins, padding, and alignment styles can be applied to different types of HTML lists, ...

Get Sams Teach Yourself HTML, CSS and JavaScript All in One 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.