O'Reilly logo

More Eric Meyer on CSS by Eric A. Meyer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. CSS-Driven Drop-Down Menus

 

Parents who want a fresh point of view on their furniture are advised to drop down on all fours and accompany the nine or ten month old on his rounds.

 
 --SELMA H. FRAIBERG

As we saw in the preceding project, it's possible to take a simple, unordered list of links and make it look good. The missing component there was the capability to have submenus and even sub-submenus. Is there a way to use CSS and simple HTML to create drop-down menus, and menus within menus?

As you might have expected, the answer is “yes.” It does require using a bit of proprietary technology to get one browser on board, but since that browser is Internet Explorer for Windows, the nonstandard bit is very likely more than worth it. As we'll ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required