Hey, below is my current code, but wont display the background unless I make it display:block. But if I do that it wont make my list inline as i want it, ideas?
#top ul li.corner span.left-corner{
background-image:url("images/corner-left.gif");
background-repeat:no-repeat;
width:12px;
height:23px;
}
#top ul li.corner span.right-corner{
background-image:url("images/corner-right.gif");
width:12px;
height:23px;
}
#top ul li.corner span.content{
background-color:#2C2C2C;
width:12px;
height:23px;
}
HTML:
<ul>
<li class="corner">
<span class="left-corner"></span>
<span class="content"><a href="http://www.ryancoughlin.com/index.php" title="Go Home">home</a></span>
<span class="right-corner"></span>
</li>
<li class="corner">
<span class="left-corner"></span>
<span class="content"><a href="category/tutorials/" title="View Tutorials">tutorials</a></span>
<span class="right-corner"></span>
</li>
<li class="corner">
<span class="left-corner"></span>
<span class="content"><a href="category/blog/" title="Read My Blog">blog</a></span>
<span class="right-corner"></span>
</li>
<li class="corner">
<span class="left-corner"></span>
<span class="content"><a href="about/" title="Get To Know Me">get to know me</a></span>
<span class="right-corner"></span>
</li>
<li class="corner">
<span class="left-corner"></span>
<span class="content"><a href="category/blog/" title="Read My Blog">blog</a></span>
<span class="right-corner"></span>
</li>
<li class="corner">
<span class="left-corner"></span>
<span class="content"><a href="contact/" title="Contact Me">coffee? chat? project?</a></span>
<span class="right-corner"></span>
</li>
<li class="corner">
<span class="left-corner"></span>
<span class="content"><a href="http://feeds.feedburner.com/ryancoughlin/" title="Subscribe">subscribe</a></span>
<span class="right-corner"></span>
</li>
</ul>