|
| |
Free Buttons Sets
|
Web Hosting Services |
Set 1
Set 2
Set 3
Set 4
Set 5
Set 6
Set 7
The HTML Code and CSS
The HTML code for the color change effect using 2 buttons is very simple. Most of the change is controlled using the style sheet. InstructionsThis 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 |
| Net Success 2000 Plus Inc PO Box 1508 Somerset, KY 42502 Copyright 2000 - 2007 Net Success 2000 Plus Inc Last Modified: September 28, 2007 |