This is probably a stupid question and is simply a case of me needing a fresh set of eyes to see an obvious mistake, but I'm stuck.
I'm using an unordered list to display my skill set for a new portfolio site I'm building. I want to use background images to display a star rating of my skill level with each program/language. This is the HTML in question (the list is longer, obviously, but I've chopped it down to one LI to show the concept):
The .even class is applied to the list item and is assigned to ever other item in the list to achieve an alternating background color. Inside each list item is a link that is assigned a class based on how many stars it would have, and the class for the number of stars (.five, in this case) has the appropriate background image.
It seems no matter what I do, the background image doesn't show up. And yes, the path to the image is correct.
I'm using an unordered list to display my skill set for a new portfolio site I'm building. I want to use background images to display a star rating of my skill level with each program/language. This is the HTML in question (the list is longer, obviously, but I've chopped it down to one LI to show the concept):
And this is the CSS:
The .even class is applied to the list item and is assigned to ever other item in the list to achieve an alternating background color. Inside each list item is a link that is assigned a class based on how many stars it would have, and the class for the number of stars (.five, in this case) has the appropriate background image.
It seems no matter what I do, the background image doesn't show up. And yes, the path to the image is correct.
background-image: url('paper.gif');
I always just write
background: url('x.jpg');
to each his/her own i guess
That way, the image would just be displayed once
(no-repeat)and the white color(#FFFFFF)on the rest of the background.3 less f's :) hah
And if I needed positioning: