₢istiano 0 Denunciar post Postado Setembro 22, 2011 Por que as caixa de texto diminue de tamanho,(apenas o height), quando submeto os campos? o codigo ta aki ---------v <?php if(isset($_POST['login']) && $_POST['login'] == 'k'){ $u = $_POST['user']; $s = $_POST['senha']; if((!$u) || (!$s)){ echo 'campos em branco'; } } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Documento sem título</title> <style type="text/css"> .catet{ position:absolute; height: 20px; width: 205px; left:253px; top:200px; z-index:1; } .cast{ position:absolute; height:20px; width:205px; left:253px; top:250px; z-index:1; } .Enter2 { position:absolute; left:253px; top:300px; z-index:1; } </style> </head> <body> <form method="post"> <input name="login" type="hidden" value="k" /> <input name="user" type="text" class="catet" /> <input name="senha" type="password" class="cast" id="senha" /> <input name="button" type="submit" class="Enter2" id="button" value="Login" /> </form> </body> </html> Compartilhar este post Link para o post Compartilhar em outros sites
hinom 5 Denunciar post Postado Setembro 22, 2011 ocorre isso porque está escrevendo fora do corpo.. a frase deveria estar delimitada na tag <body> questões básicas de html.. Compartilhar este post Link para o post Compartilhar em outros sites
₢istiano 0 Denunciar post Postado Setembro 22, 2011 Mas por que apenas o height diminue, não era pro width diminuir tambem ? Compartilhar este post Link para o post Compartilhar em outros sites