<html> <head> <title>Div example</title> </head> <body> <style type="text/css"> .button1 { background:url("../download/css/button_gradient.gif") repeat-x; border: 1px #ff0000 outset; padding: 2px 5px; color: #000000; text-decoration: none; font: bold 10px Verdana; } .button1:visited, .button1:hover, .button1:active{ color: #ffffff; text-decoration: none; font: bold 10px Verdana; } .button2{ background:url("../download/css/button_gradient.gif") repeat-x; border: 1px #ff0000 outset; padding: 1px 4px; color:#000000; text-decoration: none; font: bold 10px Verdana; } .button2:visited, .button:active{ color: #ffffff; text-decoration: none; font: bold 10px Verdana; } .button2:hover{ color: #ffffff; text-decoration: none; font: bold 10px Verdana; border-style: inset; background-color: #0000ff; padding: 2px 3px 0px 5px; /* shift text 1px to the right and down */ } </style> <a href="https://www.mobilefish.com" class="button1">Button 1</a> <br /><br /> <a href="https://www.mobilefish.com" class="button2">Button 2</a> </body> </html>