Jump to content

how to create button of our own design(its urgent)


smiley_kool

Recommended Posts

http://www.phpfreaks.com/forums/index.php/topic,180035.0.html  >:(

Dont double post!

 

Are you talking about submit buttons?, or are you just trying to create a button from a link?

 

 

In the last case, you could either use an image as link. Like this:

<a href="http://www.brugbart.com/"><img src="image.jpg"></a>

To create a hover effect, by shifting the image with another image.

a.octagon {
  width: 60px;
  height: 120px;
  display: block;
}
a:link { background: url("image.jpg"); }
a:visited { background: url("image.jpg"); }
a:active { background: url("image.jpg"); }
a:hover { background: url("image2.jpg"); }

 

The trick would be to use a transparent gif or png, to create the shape you want.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.