However, the problem I'm running into is that it only displays correctly with a fixed length of text within the LI tag ( as shown by the hardcoded location in the CSS).
How can I make the arrow.gif move, depending on the length of the text? I know this has to be possible, but I've been racking my brain and cannot get it to work.
background: url(images/arrow2.gif) no-repeat right middle;
__________________
Note: I do not test code. I just write it off the top of my head. There might be bugs in it! But if any thing I gave you the overall theory of what you need to accomplish. Also there are plenty of other ways to accomplish this same thing. I just gave one example of it. Other ways might be faster and more efficient.
Seems close .. using your code, the image disappears (out of the DIV tag I'm guessing).
If I remove "middle" and keep it to the right, it will expand and space itself out of the text grows, however it stays on the right end of the DIV box if the text is shorter.
Lets see, you ask a question about a background image yet you don't tell us where this image is. Umm its not like we know what it looks like either. Post a link or attach the image.
Lets see, you ask a question about a background image yet you don't tell us where this image is. Umm its not like we know what it looks like either. Post a link or attach the image.
The image is irrelevant, but for sake of example, it's a small arrow. It sits just to the right of the linking/list text.