CSS Library: Links & Buttons: Here
CSS Oval buttons
Author: Dynamic Drive
These buttons use the sliding doors technique of CSS, plus two sliced background images with "on" and "off" states, to create flexible oval shaped CSS buttons, similar to CSS Square Buttons. Each button can accommodate text of variable widths and supports a hover effect when the mouse rolls over it. The only limitation is the height of the button, which is fixed based on the background image's height.
For your convenience, we've created 5 different colored ovals buttons to get you on your way!
Demo:
The images used: Choose the desired set to download (2 images total):
Gray oval (2 images):
Blue oval (2 images):
Green oval (2 images):
Red oval (2 images):
Orange oval (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 3 of 3 pages « First < 1 2 3
I can not seem to get the download:
"The images used: Choose the desired set to download (2 images total):"
Where do I download the files?
Just create a real button next to it, that isn't visible and in the onclick on the CSS-buttons span make it click the real button instead.: 'document.getElementById('realbutton').click()';
(You have to set href on the anchors to 'javascript:return false' or something though to stop it's link functionality)
i tried always only the left half is displaying.. where should i mention the span for the right half to be displayed...
but the colors just dont do it to me.








