![]() Creating Drop-Down Menus with ListsAlthough we don't talk about lists until Chapter 15, I'll advance you a technique for using them to format navigation links into drop-down (or pop-out) menus with CSS. You may want to come back to this section after having gone through that chapter. To create drop-down menus with lists:
Figure 12.13. When no hovering is happening, the top level li items are visible but their ul babies (with the second level li items) are hidden.
Figure 12.14. When your visitor hovers over the list, the second level ul and its list items become visible.
Figure 12.15. This is the same code with some extra formatting. You can see both CSS files in full on my Web site (see page 26).
![]() |