CSS Library: Links & Buttons: Here
Bold CSS Buttons
Author: Dynamic Drive
These big, bold CSS buttons are constructed using a rounded edge button image sliced into two pieces, then put back together using CSS. The button text style reacts on the "hover" state.
Demo:
Single button:
Side by Side:
The images used: Choose the desired set to download (2 images total):
Gray oval (2 images):
Blue oval (2 images):
Green button (2 images):
Red button (2 images):
Metallic brown button (2 images):
The CSS:
Got a question or need help customizing this CSS code? Post it in the CSS Forums. If you have a comment or suggestion instead, post it in the comments section below.
Comment Pages 5 of 7 pages « First < 3 4 5 6 7 >
I recently used these bold CSS buttons on a website that I am developing for a friend. When accessing the site from certain places, the images behind the button take an observable time to download, resulting in a noticeable white screen between image swaps. I came back to this page to test if it was just my site or if I could reproduce here. Sure enough, the same problem occurs. Furthermore, no other CSS image swapping buttons seem to have this effect. ...just an FYI for those considering to use.
Good script. If you change the a.boldbuttons span padding from:
To
It removes the 1px line gap between the two images on Firefox.
padding:4px 10px 4px 2px;
To
padding:4px 11px 4px 2px;
It removes the 1px line gap between the two images on Firefox.
Wow! Cool web 2.0 styled buttons!
Although Richard has a good idea, these buttons look great!
Although Richard has a good idea, these buttons look great!
I was wondering, buttons work side by side - but when there is an input form it will go below.
is there a fix?
is there a fix?
It would be nice if you included the PSD file used to create the buttons, lets face it one of the button provided will come close to a design we may be using but nothing you post will match the color of our designs 100%, having a PSD would allow the person to modify the image to suite there color scheme...
good
Thanks!
Thanks!
Nice. All such buttons will work with a tag. I wanted to have submit buttons -- input or button tags -- and I've not found a solution to this. Forms won't work if you press enter; you need to click on the links for the form to be processed.
I've tried button tags with span/b inside, but this too seems to have browser issues.
I've tried button tags with span/b inside, but this too seems to have browser issues.
Professional
I have been having difficulty gettting the buttons to display centered also. Any ideas?
Commenting is not available in this weblog entry.


Thanks