On 11/24/06, Mario Merino (gmail) <[EMAIL PROTECTED]> wrote:
> Hello I want to include several CSS buttons on a site Im building.  I have
> looked at the following article
> http://www.webcredible.co.uk/user-friendly-resources/css/rollover-buttons.sh
> tml but I would have to build the same amount of coded for each button I
> want to include, I implemented it and wasn't very convinced.

Hi,

Maybe you need to create a generic button class and a specific button
class and put the background image specific style into the specific
button class, and the rest of the styles into the generic style. Then
in the html use multiple classes
<div class="btn btn-blue"><a href=""><img alt="button" src=""/></a></div>

Anyway I think the example here

http://wellstyled.com/css-nopreload-rollovers.html

is simpler.

Check out the example too

http://wellstyled.com/files/css-nopreload-rollovers/example.html
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to