Free Buttons Sets
Hover Color Change Effect
This gallery of buttons can be used to create the hover color change effect without using complicated javascript.
Use simple HTML code and CSS to to create the effect in your navigational links.
Three versions of each set are provided. The first is for use on a white background. The second is for black or dark colored backgrounds. The third works best on grays or light pastels.
If you install your buttons and there is a white fringe around the button you should try a different version of the same button. All buttons have transparent backgrounds.
Code and instructions provided below.
Set 1
![]() Use on White Background |
![]() |
|
![]() Use on Black or Dark colors |
![]() |
|
![]() Use on Light Pastels |
![]() |
Set 2
![]() Use on White Background |
![]() |
|
![]() Use on Black or Dark colors |
![]() |
|
![]() Use on Light Pastels |
![]() |
Set 3
![]() Use on White Background |
![]() |
|
![]() Use on Black or Dark colors |
![]() |
|
![]() Use on Light Pastels |
![]() |
Set 4
![]() Use on White Background |
![]() |
|
![]() Use on Black or Dark colors |
![]() |
|
![]() Use on Light Pastels |
![]() |
Set 5
![]() Use on White Background |
![]() |
|
![]() Use on Black or Dark colors |
![]() |
|
![]() Use on Light Pastels |
![]() |
Set 6
![]() Use on White Background |
![]() |
|
![]() Use on Black or Dark colors |
![]() |
|
![]() Use on Light Pastels |
![]() |
Set 7
![]() Use on White Background |
![]() |
|
![]() Use on Black or Dark colors |
![]() |
|
![]() Use on Light Pastels |
![]() |
The HTML Code and CSS
| HTML | CSS |
|---|---|
<td id="button4n" align="center" style="background-color: #afafaf">
|
/* Button Settings */
|
The HTML code for the color change effect using 2 buttons is very simple. Most of the change is controlled using the style sheet.
Instructions
This is the actual code for Button 4 for Neutral Backgrounds.
Copy the HTML code into your web page. See Tutorial HTML Tables
Copy the CSS into an embedded or linked style sheet. See Tutorial Style Sheets
Copy the buttons that you want to use. Right click on the 2 individual buttons displayed to the right of the demo set and choose Save Picture As. The images are in PNG format.
If you change the cell ID in the code, be sure to change it in the style sheet.
Under Button Settings, change the image file names to the buttons that you choose. Be sure to include a proper path to the buttons.
If you need to adjust the space between the buttons, increase or decrease the height setting. (Under button Settings)
The background color of the cell should be changed in the HTML code and in the style sheet for the background color of the paragraph selector. (Under Button Settings)
Vertical centering of the text on the buttons is adjusted by changing the padding attribute in the a and a:hover selectors. (Under Button Settings)
The color, weight and size of the text on your buttons is found under Text Settings.
Buttons were created using WebStyle 4 by Xara
Free Websites
Spruz.com
MoonFruit
LIVE JOURNAL
CalgaryPlanet
More websites
Free Website Builders
Yahoo Sitebuilder 2.6
Ucoz
Alleycode HTML
NoteTab Light
Nvu WYSIWYG
Seamonkey Composer
CSE Validator
HTML Kit
Soholaunch
Joomla
Web Hosting Services
Web Hosting FAQ
Recommended
Web Hosts













































