<style type="text/css">
.button1{
font-family: verdana, arial, helvetica, sans-serif;
font-size: 14px;
color: #29697C;
width:80px;height:26px;
background-image:url('../img/button2.png');
background-repeat:no-repeat;
}
</style>


Così mi crea un pulsante con il testo utilizzando la classe sopra:

<input type='submit' class='button1' name='codice' value='$codice' onclick=\"this.form.action='pagina.php4';\">


Ma se volessi aprire un file pdf? così non mi va:

$nomefile