Invalid Property Value?
I'm trying to give my search bar a background, using css. But chrome keeps giving the error 'invalid property value'. Which is weird because my navigation bar is the exact same cod
Solution 1:
This is because you've also specified "no-repeat" along with your background image. Alter your code to:
background: url(images/searchbar.png) no-repeat;
Solution 2:
Another way to do that is to use background-repeat property.
background-image: url('images/searchbar.png');
background-repeat: no-repeat;
Post a Comment for "Invalid Property Value?"