I'm trying to get away from using multiple rollover images by simply using two background images for a: and a:hover, respectively. I would also like to have a small border separating the links. This has caused a few problems, however:
1. A small gap appears below the nav bar, even if I set #nav height to a certain value (e.g. 16 pixels - the height of the background image)
2. During the rollover, the a:hover background image shifts to just below the a: background image
3. I can't seem to get the text to vertically align in the middle of the image; it stays on the bottom.
4. I set a small, 1-pixel white right border for each list item, but is there a way to eliminate it after the last item? Or do I have to set a class for this one item?
Here are the links:
http://www.diamondpackaging.com/green/diamond8b.htm
http://www.diamondpackaging.com/green/diamond8b.css
Last edited by wilbury; 08-20-2007 at 03:54 PM..
Reason: added links
|