salve
ho un quesito ho due file un file .css e uno .php
dove nel file style.css ho questo codice:
Codice PHP:
.button {
display: inline-block;
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#50A7E7), color-stop(100%,#3679CF));
background: -moz-linear-gradient(center top, #50A7E7 0%, #3679CF 100%);
-webkit-box-shadow: 0px 1px 0px #61b5ff inset, 0px 1px 1px 0px #bdbdbd;
-moz-box-shadow: 0px 1px 0px #61b5ff inset, 0px 1px 1px 0px #bdbdbd;
box-shadow: 0px 1px 0px #61b5ff inset, 0px 1px 1px 0px #bdbdbd;
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
border-radius: 15px;
text-shadow: 0px -1px 0px #004d80;
padding: 2px 8px;
border-color: #4081AF;
border-width: 1px;
border-style: solid;
font-size: 11px;
color: #FFFFFF;
font-weight: bold;
}
.button:hover {
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#51A8E7), color-stop(100%,#206BCB));
background: -moz-linear-gradient(center top, #51A8E7 0%, #206BCB 100%);
}
.button:active {
-webkit-box-shadow: 0px 0px 15px #001a47 inset;
-moz-box-shadow: 0px 0px 15px #001a47 inset;
box-shadow: 0px 0px 15px #001a47 inset;
}
mentre nel file index.php ho questo:
Codice PHP:
<?php
?>
<head>
<link rel="stylesheet" href="style.css" type="text/css" />
</head>
<form id="login">
<h1>Log In</h1>
<fieldset id="inputs">
<input id="username" type="text" placeholder="Username" autofocus required>
<input id="password" type="password" placeholder="Password" required>
</fieldset>
<fieldset id="actions">
<input type="submit" id="button" value="invia">
<a href="">Hai dimenticato la password?</a><a href="">Registrati</a>
</fieldset>
</form>
<?php
?>
vorrei collegare il risultato del file css al bottone "invia"..
cosi da prendere lo stile che gli ho creato
non capisco dove sbaglio...
grazie per eventuali risposte