I'm having some trouble with something really simple. I'm just trying to get some bullet points to show up when I use a list. I can't figure out why it's not working. Here's the html:
Simple CSS Question
8
I'm having some trouble with something really simple. I'm just trying to get some bullet points to show up when I use a list. I can't figure out why it's not working.
Here's the html:
And here's the CSS:
I know the path to the image is right, because when I change the css entry to just .entry ul (and take off the li) it puts the bullet on just the first entry.
The full page is here in case anyone wants to view the full source: Florida Gators Blog
Here's the html:
HTML Code:
<div class="entry"> <div class="post-content clearfix"><p style="text-align: center;"><img src="/images/stories/gator-2-seed.jpg" border="0" alt="Gators 2 Seed" title="Gators 2 Seed" /></p> <p>Here are the teams that will almost certainly be seeded ahead of the Gators, regardless of what happens today.</p> <ul> <li>Ohio State</li> <li>Kansas</li> <li>Pittsburgh</li> <li>Notre Dame</li> <li>Duke</li> <li>UNC</li> <li>San Diego State</li> </ul>
Code:
.entry ul li {
list-style-type: square;
background: url(../images/primary/green/li-blue.png) 0 2px no-repeat;
} The full page is here in case anyone wants to view the full source: Florida Gators Blog
- xtrapunch
- ronc0011
- Vcize
- [1] reply
- xtrapunch
- kjhosein
- [1] reply
- Vcize
- kjhosein
Next Topics on Trending Feed
-
8