Rants and Raves of Eric Brooks. Low-tech whining in cyberspace…
“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?
No related posts.
This entry was posted
on Saturday, September 7th, 2002 at 6:38 pm and is filed under Tutorials.
You can follow any responses to this entry through the RSS 2.0 feed.
Both comments and pings are currently closed.
Dots O' Links
Here are a list of other great blogs and journals for you to check out. Due to Technorati's way of ranking sites, and I don't have a blogroll, I've pulled these right out of my Links Page.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
17 queries. 0.131 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.