I am trying to get all my pages to validate. So far so good, so I moved on to my CSS. It validates but I have 2 warnings:
Now what I DO have here is an image for each background as such:Code:* Line : 93 (Level : 1) You have no background-color with your color : #nav-menu li a * Line : 107 (Level : 1) You have no background-color with your color : #nav-menu li a:hover
Is there something I can add to the background: line that will keep my images visible as well as make the images appear?Code:#nav-menu li a { background: url(/cssimg/1.png); height: 2em; line-height: 2em; float: left; width: 85px; display: block; border: 0.1em solid #dcdce9; color: #0d2474; text-decoration: none; text-align: center; }
Is it good manners to just put:
background: #000000;
background: url(/cssimg/1.png);
Since CSS will use what is second on the list?



Reply With Quote


Bookmarks