i'm new to creating wordpress themes and want a menu at the Top of my page. I do have the following: Header.php
<html>
<head>
<title>Tutorial theme</title>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>">
</head>
<body>
<div id="wrapper">
<?php wp_nav_menu( array('menu' =>'Top Navi', 'container' => '', 'items_wrap' => '<ul id="menu-primary" class="menu" >%3$s</ul>' ) ); ?>
<div id="header">
</div>
functions.php
<?php
add_theme_support( 'menus' );
if (function_exists('register_nav_menus')) {
register_nav_menus(
array(
'main_nav' => 'Main Navigation Menu'
)
);
}
?>
And finally my css file http://pastebin.com/Pjr3THJm
However my menu comes out in a list, not horizontally. What am i doing wrong?


theme_locationrather thanmenuin yourwp_nav_menu()call.) – Chip Bennett Mar 11 at 15:06