Quote:
|
background: #1219aa url(images/Link-Bkgd1.gif) repeat-x;
|
There is absolutely NOTHING wrong with that statement, its valid CSS shorthand and not the problem at all.
This code won't do what I mentioned:
Quote:
#navlinks {
line-height:2em;
width: 651px;
margin-left: 175px;
margin-top: 5px;
background: url(images/Link-Bkgd.png) repeat-x;
}
#navlinks li a {color: white;}
|
What you need is this:
#navlinks li a{background: url(images/bgImage.png/) repeat-x;}
That will put the image ON THE LINK. To change the background image on hover, you'd then need this:
#navlinks li a:hover{background: url(images/bgImageHover.png/) repeat-x;}
The background image you use should be blank so the real text of the link sits over it.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
Please login or register to view this content. Registration is FREE
Please login or register to view this content. Registration is FREE
|