Powered By Google
WWW ericbrooks.com  
Soapbox
Download the Jurassic font , as well as 2,180 other free and shareware True Type Fonts in the Fonts Section!

WHUZZUP
FREE St. Patrick's Day E-Cards at EricBrooks.Com Card Shop!
- March 16th, 2008 -
911 was an inside job... SANTA DID IT!
- December 19th, 2007 -
Denny Keast speaks?
- December 16th, 2007 -
Add to My Yahoo!
Add to Google

Soapbox
Seriously... Cho was a pu*sy.
- April 20th, 2007 -
An Inconvenient Pack of Morons
- January 3rd, 2007 -
The REAL reason why "Nice Guys Finish Last"
- July 2nd, 2006 -

Site Stats
6,297,553
Visitors since 08/23/98
GeoURL

8 Users Online




Subscribe to my newsletter

Sign up for my monthly e-Zine and get the latest updates and offers available to members only

Subscribe
Unsubscribe

SoApBoX Archives
Low-tech whining in cyberspace…

Using Images on your buttons

“how do you get the fade effects on your buttons?”

Even though I know kd knows this answer… *wink*…

How to make your buttons go…

It’s all CSS, my dear!
1. I made a selector called .”btn”
2. In my css:
.btn { background: #FFCC00 url(img/btn.gif); background-repeat: repeat; border-color: #FFCC00; color: #000000; font-weight: bold; font-size: 9pt; font-style: normal; font-family: Arial, Helvetica, sans-serif;}

3. btn.gif
is the gradient background in the buttons.

4. <input type=”submit” class=”btn”>

You can more or less use any image as a backround anywhere on your page with css….

Any questions?

One Response to “Using Images on your buttons”

  1. kd Says:

    woohoo! i’m going to put the big blue building background on the big blue building skin. i think that will be way cool. and i really didn’t know the exact syntax of that, CSS still confuses me. as do most things in the world. constant state of confusion. l


Creative Commons License
EricBrooks.Com® is licensed under a Creative Commons License.

13 queries. 0.240 seconds. Powered by WordPress

Disclaimer: The views expressed herein are solely those of Eric Brooks. They do not necessarily reflect those of his employers, friends, contacts, family, or even his pets (though my cat, Puddy, seems to agree with me on many key issues.). In accordance to my terms of use, you hereby acknowledge my right to psychoanalyze you, practice accupuncture, and mock you incessantly with every visit. As the user, you also acknowledge that the author has been legally declared a "Problem Adult" by the Commonwealth of Pennsylvania, and is therefore not responsible for any of his actions.

Pocono Web Designers
EricBrooks.Com™ Mousepad

Vote for Me!!!!

Problem Adults Eclair

Meet Me on MySpace

News | Fonts | Free Stuff | Crystal Ball | Design | Writings | Carlin | Cardshop | 3D | Links | Contact | About | Guestbook
| Privacy Policy | "I support my friends" policy | Change the Layout | CB Gifts