Trying to combine so many things... isn't working out too well
Here's an example of the button image:
HTML:
HTML Code:
<ul id="buttons">
<li id="home"><a href="#"> </a></li>
</ul>
And the CSS
Code:
ul#button {
display: block;
width: 125px;
height: 43px;
list-style-type:none;
float: left;
}
ul#button a{
float: left;
width: 125px;
height: 43px;
list-style-type:none;
margin: 0;
display: block;
}
ul#button a:hover {
background-position: 0 -43;
width: 125px;
height: 43px;
}
li#home a {
background: url('/images/buttons/home.gif');
border: solid red 1px;
}
Don't really know what I'm doing, here's the page it'self
If you can give me any insight on doing buttons/menus like this, please do.
I think this is the best way to do it, but tell me if I'm wrong.
|