jasonpc1
11-15-2010, 11:45 AM
wanting background image only on bottom menu section but i can not seem to get the image to show behind all of the menu items.
<div class="header">
<ul>
<li class="firstmenuitem"><a href="#">Welcome</a></li>
<li><a href="#">About us</a></li>
<li><a href="#">Menu 3</a></li>
<li><a href="#">Menu 4</a></li>
<li><a href="#">Menu 5</a></li>
<li><a href="#">Menu 6</a></li>
<li><a href="#">Menu 7</a></li>
<li><a href="#">Menu 8</a></li>
</ul>
<br style="clear: both; line-height: 8px;">
<ul class="RoundMenuBox">
<li class="customerfirst"><a href="#">Menu 9</a></li>
<li><a href="#">Menu 10</a></li>
</ul>
<br style="clear: both;">
</div>
CSS
.header { margin: 0 auto; text-align: center; padding: 10px 10px 5px 10px; position: relative; font-size: 12px; }
.header ul { display: block; text-align: center; width: 100%; list-style: none; padding: 0; height :12px; }
.header li { padding: 0 8px 0 10px; color: #000; display: inline; position: relative; top: 30%; border-left: 2px solid #319cfe; }
li.firstmenuitem { border-left: 0px; }
li.customerfirst { border-left: 0px; }
.Round_MenuBox { background:url(../images/RoundMenuBox.gif) no-repeat center center; }
I have attached both the image i am using and my original photoshop file.
can anyone see why the image is not showing correctly ?
<div class="header">
<ul>
<li class="firstmenuitem"><a href="#">Welcome</a></li>
<li><a href="#">About us</a></li>
<li><a href="#">Menu 3</a></li>
<li><a href="#">Menu 4</a></li>
<li><a href="#">Menu 5</a></li>
<li><a href="#">Menu 6</a></li>
<li><a href="#">Menu 7</a></li>
<li><a href="#">Menu 8</a></li>
</ul>
<br style="clear: both; line-height: 8px;">
<ul class="RoundMenuBox">
<li class="customerfirst"><a href="#">Menu 9</a></li>
<li><a href="#">Menu 10</a></li>
</ul>
<br style="clear: both;">
</div>
CSS
.header { margin: 0 auto; text-align: center; padding: 10px 10px 5px 10px; position: relative; font-size: 12px; }
.header ul { display: block; text-align: center; width: 100%; list-style: none; padding: 0; height :12px; }
.header li { padding: 0 8px 0 10px; color: #000; display: inline; position: relative; top: 30%; border-left: 2px solid #319cfe; }
li.firstmenuitem { border-left: 0px; }
li.customerfirst { border-left: 0px; }
.Round_MenuBox { background:url(../images/RoundMenuBox.gif) no-repeat center center; }
I have attached both the image i am using and my original photoshop file.
can anyone see why the image is not showing correctly ?