2014-08-28, 10:14:26
For simple menu items with different background images. This line of css will give a default background image to menu items:
then for specific images for specific pages:
Which says (in english)
Code:
nav a {background-image:url(images/menuimg01.png);}
Code:
nav a[href*="about"] {background-image:url(images/menuimg02.png);}
Quote:for anchor elements which are children of nav, if the href contains the text "about" then the background image is menuimg02.png