After working on my navigation menu locally, I noticed that when I uploaded it online, some changes didn't take effect on Chrome and the design on Firefox was different from what I intended. I'm not sure what I might be doing wrong here. Here is a link to the design and a live URL for the current progress.
Some issues I am trying to address include:
1. Ensuring the overall design is correct 2. Removing the blank space between each menu item
Design:
URL:
HTML
<div id="navigation">
<ul>
<li class="home-nav-bg"><a href="#"></a>
<li class="how-nav-bg"><a href="#">Example Us</a>
<li class="boxes-nav-bg"><a href="#">Example</a>
<li class="recipes-nav-bg"><a href="#">Example</a>
<li class="food-nav-bg"><a href="#">Example</a>
<li class="kitchen-nav-bg"><a href="#">Example</a>
<li class="nav-end-bg"><a href="#"></a></li>
</ul>
</div>
CSS
#navigation {
margin-top: 10px;
margin-bottom: 20px;
float: right;
width: 700px;
margin-right: -50px;
}
#navigation ul {
text-decoration: none;
list-style-type: none;
display: block;
}
#navigation li {
font-size: 0.8em;
color: #fff;
display: inline;
text-align: right;
}
#navigation li a {
font-size: 0.8em;
color: #fff;
display: inline;
padding-left: 20px;
padding-right: 20px;
text-align: right;
}
.home-nav-bg {
background-image: url('../img/home-nav-bg.png');
padding-right: 40px;
padding-top: 17px;
padding-bottom: 18px;
}
.how-nav-bg {
background-color: #bf0e51;
padding-left: 5px;
padding-right: 5px;
padding-top: 17px;
padding-bottom: 18px;
}
.boxes-nav-bg,
.recipes-nav-bg,
.food-nav-bg,
.kitchen-nav-bg {
background-color: #bf0e51;
padding-left: 5px;
padding-right: 5px;
padding-top: 17px;
padding-bottom: 18px;
}
.nav-end-bg {
background-image: url('../img/nav-end-bg.png');
padding-left: 5px;
padding-right: 12px;
padding-top: 17px;
padding-bottom: 45px;
}