Jump to content

Recommended Posts

Posted

Malta comecei hoje a brincar a esforçar-me e voilá, estou me a sair bem.. mas tenho um problema...

o que está mal para que no firefox veja o resultado de uma maneira e no ie de outra ? vou deixar as print screens e o código..

estou me a referir à textarea

vou deixar tb uma imagem da página inicial com o que fiz em css, não está nada de jeito..

🙂

formulário :

<html>
<head><link rel="stylesheet" type="text/css" href="xx.css">
<body>
<form name="contacto" action="form.php" method="post">
<table class="form">
<tr>
<th colspan="2"><h4>                Formulário de contacto</h4></th>
</tr>
<tr><td><label>Nome</label></td>
<td><input type="text" name="nome" size="33" maxlenght="50"></td>
</tr>
<tr><td><label>e-mail</label></td><td><input type="text" name="mail" size="33" maxlenght="50"></td></tr>
<tr><td><label>Assunto</label></td><td><input type="text name="assunto" size="33" maxlength="100"></td></tr>
<tr><td><label>Comentários</label></td><td><textarea name="comentario" cols="30" rows="5"></textarea>
</td></tr>
<tr><td></td><td align="center"><input name="submit" type="submit" value="Enviar"></td>
</table>
</form>
</body>
</html>

como devem ter reparado tive que por   porque não consegui alinhar aquilo ao cetro das 2 colunas :\

------------------------------------------------------------

o css..

------------------------------------------------------------

body{margin-top:100px;
margin-right:420px;
margin-left:350px;}

h1{

font-family:Verdana,Arial,sans;
font-size:150%;
color:#039;
padding: 8px 0 10px 12px;
border-left:1px solid #039;
border-top:1px solid #039;
margin-buttom:0;
text-align:center;
}

p{
font-family:Verdana,Arial,sans;
font-size:smaller;
color:#000;
border-left:1px solid #069;
padding: 0 0 12px 12px;
margin-top:0;
text-align:justify;
}


div.construction{
background:#ffc;font-size:smaller;font-family:verdana;text-align:center;
border-top:1px solid #000;}

input { background-color:#B0E0E6;font:12 px verdana,arial,helvetica,sans-serif;
color:#003399;
border:2px solid #000099;
}

textarea {background-color:#B0E0E6;font:12 px verdana,arial,helvetica,sans-serif;
color:#003399;
border:2px solid #000099;
}

table.form{ font-family:Verdana,arial,;font-size:11px;font-weight:bold;}
div.contacto{font-family:verdana;text-decoration:underline;font-size:smaller;text-align:center;}
Posted

Não tens nada de mal no teu código. Os browsers é que interpretam de forma ligeiramente diferente...

10 REM Generation 48K!
20 INPUT "URL:", A$
30 IF A$(1 TO 4) = "HTTP" THEN PRINT "400 Bad Request": GOTO 50
40 PRINT "404 Not Found"
50 PRINT "./M6 @ Portugal a Programar."

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.