I have a navigation menu that looks like this:

I need to break it into three parts (left, center, right).
I wrote the html and css code as follows:
<span id="nav-left-img"></span> <ul id="navigation"> <li>Home</li> <li>About Us</li> <li>Products</li> <li>Contact Us</li> </ul> <span id="nav-right-img"></span>
and here is the css:
ul#navigation { background: url('../img/menu-c.png') repeat-x; height: 45px; clear: both; width: 420px; } ul#navigation li { float: left; text-align: center; width: 100px; padding-top: 10px; } #nav-left-img { background: url('../img/menu-l.png') no-repeat; height: 45px; width: 10px; }
span doesn't seem to do the trick; if i use div it works. What is possibly wrong with the code? Is it ok if I use a div instead of a span or should I stick with a div to connect this left and right images? How to do it with span ?
source share