I haven't really ever done a background navigation rollover, I usually just change the colour of the text once it's been rolled over. However I'm try to do this now but can't seem to get it right.
I'm trying to do it all with CSS as I believe there is a way however I do see a lot of others using sprites and image rollovers. Which way is the best? I might end up having a lot of images on my website so I'm trying to stay away from them so I myself, am thinking strictly CSS. What is the right way?
CSS
#main-navigation { width: 100%; height: 100px; background: url(../img/NAV-BG.jpg) top center no-repeat; text-transform: uppercase; font-size: 1em; letter-spacing: 1px; line-height: 90px; /*border: 1px solid #000;*/ }
#main-navigation ul { width: 860px; list-style: none; margin: 0 auto; text-align: center;}
#main-navigation li { float: left ;margin-left: 30px; }
#main-navigation li a { display: block; text-decoration: none; color: #000; }
#main-navigation li a:hover {
color: #c7bd89;
background-color: #900;
width: 140%;
line-height: 40px;
-moz-border-radius: 5px;
border-radius: 5px;
margin-top: 25px;
}
HTML
<nav id="main-navigation">
<ul id="main-nav-left">
<li class="current"><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Current Season</a></li>
<li><a href="#">Past Seasons</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">Partners/Sponsors</a></li>
</ul>
</nav>
But I want it to look like this

What am I missing?
How ever if I use just CSS it'll break in IE and not look even remotely the same (as I will be adding a gradient to the rollover too). So the best method to use would be rollover images. So now my next problem is I'm integrating this website into wordpress soon and I know the codex for the navigation menu is
<ul id="main-navigation">
<?php wp_nav_menu(array('menu' => 'Main Nav')); ?>
</ul>
However now if I try to put background images and individual classes on each
So if I were to go the image rollover way how might I go about doing it with only being able to style the #main-navigation?
Does this make sense?
Hope someone can help me.
