Usamos cookies para medir audiência e melhorar sua experiência. Você pode aceitar ou recusar a qualquer momento. Veja sobre o iMasters.
Olá, pessoal. Bom, to cum problema de códigos conflitanto com o redimenciomanento de vídeo. Tenho um formulário que fiz em html, mas quando este formulário é visto em monitores com configurações diferentes a posição do texto se altera e fica tudo embaralhado. Como eu poderia colocar os textos em uma posição que eles acompanhassem o background quando ocorrer redimencionemento de vídeo? to colocando o código da página abaixo:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Contato</title></head>
<style>
body {
background-image: url("backlej.jpg");
background-repeat: no-repeat;
background-position: 50% 0%
background-attachment: fixed;
}
</style>
<form action="method="post">
<input type=hidden name=para value="email">
<input type=hidden name=assunto value="Contato Pelo Site">
<input type=hidden name=p_prox value="obrigado.html">
<font color="#1a514d"><font face="AvantGarde">
<P style="position: relative; left: 39.6%; top: 15%; bottom: 56px; right: 0"><span
class="style1">Nome:</span><input type="text" name="01_Nome"></p>
<P style="position: relative; left: 40%; top: 18%; bottom: 56px; right: 0"><span class="style1"><font
face="AvantGarde">Fone:</span>
<input type="text" name="02_Fone"></p>
<P style="position: relative; left: 40.1%; top: 21%; bottom: 56px; right: 15"><span
class="style1">Email:</span><input type="text" name="03_Email"></p>
<P style="position: relative; left: 45%; top: 21.6%; bottom: 56px; right: 15"><span
class="style1">Comentário:<p align=left style="position: absolute; left: 33%; top: 42%; bottom: 56px;
right: 0"><textarea cols="50" rows="10" name="04_Comentario"></textarea></span>
</p>
<p align= center style="position: relative; left: 0%; top: 43%; bottom: 56px; right: 0">
<input type="submit" name="Submit" value="Enviar"name="B1">
</p>
</form>
</body>
</html>
Como disse,o background nao sofre distorção na posição quando a resolução do vídeo é alterada, mas o texto fica todo fora de posição. O que fazer?
Antes de tudo, obrigado a quem me ajudar.
Carregando comentários...