...

View Full Version : guide to generate button background by CSS



CstAn
10-15-2007, 05:15 AM
HI all,

how can i generate a button background under a images by using CSS?

it somethings like button under a image...

can anyone give some guide??

thanks

sOOn

Fang
10-15-2007, 09:05 AM
Do you mean <input type="image" src="anImage.gif">

yume
10-15-2007, 12:55 PM
Is this the sort of thing you mean?

http://veerle.duoh.com/blog/comments/the_xhtml_css_template_phase_of_my_new_blog_part_2/

CstAn
10-15-2007, 07:45 PM
Do you mean <input type="image" src="anImage.gif">

not....anywhere thanks for ur reply.

CstAn
10-15-2007, 07:46 PM
Is this the sort of thing you mean?

http://veerle.duoh.com/blog/comments/the_xhtml_css_template_phase_of_my_new_blog_part_2/

yaya..similar to it.

i tend to do somethings like, i display a images and if user move over the images, it will show then image like a button. something like u move over to ur browser toolbar.

and thanks for ur reply

yume
10-15-2007, 10:16 PM
So you can just use the same principle with a single link (assuming you want people to click on the button) and a series of different background images for the hover states.

You might be able to get the effect you want just by changing the border styles:


border-style: inset;
or

border-style: outset;



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum