doctorx777
(usa Ubuntu)
Enviado em 28/08/2012 - 17:07h
index.php
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>Testando php...</title>
<!-- ==teste de css== -->
<style type="text/css" media="screen">
body {
width: 800px;
margin: 0 auto;
}
h1 {
text-align: center;
font-size: 26px;
font-family: Arial;
}
textarea {
width: 50%;
height: 500px;
text-align: center;
float: left;
background-color: #ffffff;
border: 1px solid #cccccc;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
-moz-transition: border linear 0.2s, box-shadow linear 0.2s;
-ms-transition: border linear 0.2s, box-shadow linear 0.2s;
-o-transition: border linear 0.2s, box-shadow linear 0.2s;
transition: border linear 0.2s, box-shadow linear 0.2s;
}
input[type=text] {
background-color: #ffffff;
width: 40%;
height: 20px;
margin-left: 15px;
margin-bottom: 10px;
border: 1px solid #cccccc;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
-moz-transition: border linear 0.2s, box-shadow linear 0.2s;
-ms-transition: border linear 0.2s, box-shadow linear 0.2s;
-o-transition: border linear 0.2s, box-shadow linear 0.2s;
transition: border linear 0.2s, box-shadow linear 0.2s;
}
textarea:focus, input[type=text]:focus {
border-color: rgba(82, 168, 236, 0.8);
outline: 0;
outline: thin dotted \9;
/* IE6-9 */
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
}
input[type=submit] {
margin-left: 125px;
}
div {
float: right;
width: 40%;
margin-top: 20px;
margin-right: 50px;
font-family: Arial;
}
</style>
</head>
<body>
<h1>Imprime nomes (php iniciante)</h1>
<form method="post" action="final.php">
<textarea name="data" required id="data">ze
antonio
maria
joao
pedro
joaquim
bruno</textarea>
<input type="submit" value="Iniciar">
<div>Teste de impressão de nomes e resultados em tempo real.</div>
</form>
</body>
</html>