A Definition List drop-down menu
3rd November 2006
copyright © stu nicholls - CSS play
You learn something new every day, and today I have learned how to make an ordinary definition list into a drop down menu, and found out that it has more styling possibilities than my drop-down unordered list menus.
Because it uses a definition list embeded in an unordered list it is easy to separate the styling of the definition list from the unordered list.
In fact all the unordered list does is to place the definition lists inline and hide the <dd> section.
Works in IE6, IE7, Opera 8.5, Opera 9, Firefox 2 etc. IE5.x will see the top level links only.
Opera 8.5 will drop-down behind the google ads but this is a browser bug.