Simulacre.org

Javascript, Ruby and Japan

Archive for the ‘snippets’ Category

Turn LI Elements into Links

Horizontal menus of links look great and save space. Building them from UL elements is good practice and makes for easy CSS styline. The LI elements will often contain a link causing them to behave like buttons to trigger a page load.

Read More »