After creating an HTML menu with links to Football, Basketball, and Baseball pages, I have the following CSS file:
#main-nav a
{
display: block;
float: left;
margin: 125px 0px 0px 0px;
color: #666666;
border: 1px #C0C0C0 solid;
background-color: #EEEEEE;
font-family: Arial;
font-size: 13px;
font-weight: normal;
font-style: normal;
text-decoration: none;
width: 106px;
height: 78px;
vertical-align: middle;
line-height: 78px;
text-align: center;
}
#main-nav a:hover, #main-nav .active
{
color: #666666;
background-color: #C0C0C0;
border: 1px #C0C0C0 solid;
}
To enhance this menu, I want to add 30x30 icons of football, basketball, and baseball to the corresponding buttons. My initial attempt involved placing each image in a DIV and positioning it within the button, but this method proved to be fragile and inefficient.
Can anyone suggest a better approach to achieve this design enhancement?