I still can't get it to work, I'm going to stick with the code quoted in my last post as that does half the job. I'm just about ready to cry I've been working on this all day and whilst the website looks fantastic I still just don't get the code behind it.
I have no idea what the difference between li a. li a:link. a:link etc
I tried this but it doesn't work...
I have no idea what the difference between li a. li a:link. a:link etc
I tried this but it doesn't work...
#buttona {
display: block; /* Makes it behave like a DIV by having it take the whole width of the screen and allows for better formatting */
list-style: none; /* Let's the menu have no gap around its border*/
padding: 0px; /* Removes the list dots to the left and also makes everything fit next to each other */
width: 500px;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
text-decoration: none;
}
#buttona li a {
color: #265EAD;
padding: 5px 10px 5px 10px;
background-color: #FCFCFC;
}
#buttona li a:link {
color: #265EAD;
padding: 5px 10px 5px 10px;
background-color: #FCFCFC;
}
#buttona li:hover, #buttona li a:hover, #buttona li a:active {
color: #FFF;
background-image: url(../graphics/graphic1.png);
background-repeat: repeat;
}