YUI List CSS

Simple styling for HTML List elements.

Include the CSS on your page

Menus are contained within the CSSList module. You can pull down CSSList from the YUI Gallery. Just include this in your head.


    
        

The latest (unstable) is on Github, and available for forking.

Fork from Github

Horizontal Menu

You can mark the active list element by adding the .yui3-menu-active class to the list element.

Site Title

Vertical Menu

Add Dropdowns to Menus

Adding dropdowns to menus requires the use of JavaScript. The Y.Menu module adds dropdown functionality and the ability to create JavaScript menus. It uses csslist to style these menus, so they look identical.

Fixed Menus

Fixed menus can be created by adding the yui3-menu-fixed class name to the wrapper. This will fix a menu to the top of the page.

Paginators

Paginators are list-based elements too! You can implement a paginator control by adding the .yui3-paginator classname to a ul element. Paginator controls generally look like buttons, but omit the yui3-button class name if you want simple paginators.