A Definition List drop-down menu
3rd November 2006
copyright © stu nicholls - CSS play
Information
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.
Copyright
Because of all the time and effort spent in producing this demonstration
I would ask that you respect my copyright.
- If you are using this on a personal web site then please add a link back to CSSplay and retain any copyright comment in the stylesheet.
A donation to the 'Support CSSplay' fund would be appreciated. - If you are using this on a commercial web site, or as a paying job for a client, then please email me asking for permission - stu{at}cssplay.co.uk and in this case a donation to the 'Support CSSplay' fund is required.
- If you are having problems integrating any of my demonstrations into your website then I now offer a service to fault find and correct any errors that you may have introduced. Please email me for more information.