Home › Forums › CSS › Text overlay on list items › Re: Text overlay on list items
January 8, 2011 at 12:22 am
#67057
enigmajr
Member
Thanks virtual! I updated the page with your code and with a little more tinkering I’m VERY close to what I wanted. In fact, I pretty much am where I want it to be, I just have a question now as to why the css won’t work how I think it should be.
If you go to the page you’ll notice the first image is out of line. That is because for some reason it is the only li in the #artist_list that obeys this code.
#artist_list li {
margin-bottom: 25px;
}
I realized that I had assigned a class to each li but this doesn’t work either.
.artist_list_li {
margin-bottom: 25px;
margin-right: 25px;
}
The only thing that seems to work is increasing the margins for the ImagesContainer. Am I misunderstanding something? Thanks everyone for all the help so far.