Title: Menu problem
Last modified: August 19, 2016

---

# Menu problem

 *  [jonathancutrell](https://wordpress.org/support/users/jonathancutrell/)
 * (@jonathancutrell)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/mene-problem/)
 * Alright, I am working on a site, and the menu bar will not display correctly 
   in ie. It is going vertical, and it needs to be (obviously) horizontal.
 * Here is the css.
 *     ```
       #nav {
       	float: left;
       	margin-top: -20px;
       	height: 20px;
       }
   
       #nav li {
       	display: inline;
       	color: #777777;
       	margin-left: 5px;
       	margin-top: 5px;
       	margin-right: 5px;
       	font-size: 26px;
       	line-height: 26px;
       	margin-bottom: -20px;
       	padding: 5px;
       }
       .active_category {
       	color: #000000;
       	background-color:#ffffff;
       	padding: 5px;
       	margin-left: -5px;
       	font-weight: bold;
       	}
       .active_category:hover {
       	color: #777777;
       	}
   
       .current_page_item a{
       	color: #000000;
       	background-color:#ffffff;
       	padding: 5px;
       	margin-left: -5px;
       	font-weight: bold;
       	}
       .current_page_item a:hover {
       	color: #777777;
       	}
       ```
   
 * And the html/php:
 *     ```
       <div id="nav" class="clear">
       			<ul>
       				<!-- home for headernav <li <?php if (is_home()){echo 'class="current_page_item"';}?>><a href="<?php bloginfo('url'); ?>/">Home</a></li> -->
       				<?php wp_list_pages('title_li='); ?>
       			</ul>
       			</div>
       ```
   
 * Thank you for your help.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [phrozen755](https://wordpress.org/support/users/phrozen755/)
 * (@phrozen755)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/mene-problem/#post-918276)
 * Try the using a float: left with your UL styling, with 100% width…lemme know 
   if that did anything.
 *  Thread Starter [jonathancutrell](https://wordpress.org/support/users/jonathancutrell/)
 * (@jonathancutrell)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/mene-problem/#post-918418)
 * No good. Any help on this one?
 *  [krembo99](https://wordpress.org/support/users/krembo99/)
 * (@krembo99)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/mene-problem/#post-918424)
 * Try to have a UL also in the css, with display: inline; and/or li with display:
   block; .
    There are a lot of CSS horizontal menu fixes if you search google..(
   and BTW – where is your clear class?)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Menu problem’ is closed to new replies.

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [nav](https://wordpress.org/support/topic-tag/nav/)

 * 3 replies
 * 3 participants
 * Last reply from: [krembo99](https://wordpress.org/support/users/krembo99/)
 * Last activity: [17 years, 5 months ago](https://wordpress.org/support/topic/mene-problem/#post-918424)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
