Jump to content

rollover button tutorial


Recommended Posts


do u just mean when you hover over it, the button changes to a hover state? if so then this is simple. this is thru css

a.button{
background-image: url(files/images/button.gif);
}
a.button:hover{
background-image: url(files/images/button_hover.gif);
}

theres the code, now just make the button you want for normal mode, then add whatever special effects you want for hover mode such as a grey out or changes colors. this is for a link so just do

<a href="http://mail.google.com/hosted/cgz09.com/" class="button">text</a>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...