# Horiz/Vert menu best practices question

**URL:** https://forum.kirupa.com/t/horiz-vert-menu-best-practices-question/249474
**Category:** web dev
**Created:** [January 19, 2008, 2:01am UTC](https://forum.kirupa.com/t/horiz-vert-menu-best-practices-question/249474 "2008-01-19T02:01:27Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![SeaFoam](https://avatars.discourse-cdn.com/v4/letter/s/e480ec/32.png) [@SeaFoam](https://forum.kirupa.com/u/SeaFoam)
#### Post date: [January 19, 2008, 2:01am UTC](https://forum.kirupa.com/t/horiz-vert-menu-best-practices-question/249474/1 "2008-01-19T02:01:27Z")

</div>

I’ve been looking at various websites with examples of Vertical and Horizontal menus (sometimes called lists or “navbars”)

Usually there will be code for a class (or ID) given, and sometimes the class (or ID) is placed in the containing DIV, and sometimes it’s placed in the UL.

Why? Do some menus simply format better if the CSS is referenced in the DIV vs UL ?

Is there a “best practices” that suggests it should be in the DIV or UL ? (Thanks)
