http://www.dynamicdrive.com/style/cs..._oval_buttons/
where do I locate the mouseover images in the css?
I see that for example on the orange bt, when mouseover it gets a darker color(image)
but it doesn't show in the css
http://www.dynamicdrive.com/style/cs..._oval_buttons/
where do I locate the mouseover images in the css?
I see that for example on the orange bt, when mouseover it gets a darker color(image)
but it doesn't show in the css
This part controls how the hover image is displayed:
It's one image...the trick used is CSS's background-positionCode:a.ovalbutton:hover{ /* Hover state CSS */ background-position: bottom left; } a.ovalbutton:hover span{ /* Hover state CSS */ background-position: bottom right; color: black; }![]()
Learn how to code at 02geek
The more you learn, the more you'll realize there's much more to learn
Ray.ph!
emanuelle (05-15-2008)
i stil have a small problem with this script:
how can I center (vertically) the text? it is too low now. I want to have it 1px higher
This part sets the text's height:
Code:line-height: 16px; /* This value + 4px + 4px (top and bottom padding of SPAN) must equal height of button background (default is 24px) */
Learn how to code at 02geek
The more you learn, the more you'll realize there's much more to learn
Ray.ph!
As it is known to all, we often follow these ways when we are building the weight loss plan : exercises , slimming pills, diet therapy, slimming machine ( eg. High-frequency vibration belly fat removing instrument), acupuncture treatment , healthy diet , reducing alcohol take-in, and herbal weight loss . Unfortunately , few of them are effective and no rebound .
Bookmarks