boa noite,
tenho andado as voltas a tentar colocar uma umage como background de uma form e nao consigo... alguem me ajuda??
quando vou a design no DW ele aparece como quero mas quando publico no site nao.....
codigo na form
Código :
Codigo css
Código :
tenho andado as voltas a tentar colocar uma umage como background de uma form e nao consigo... alguem me ajuda??
quando vou a design no DW ele aparece como quero mas quando publico no site nao.....
codigo na form
Código :
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>addcliente</title>
<link href="Template/design.css" rel="stylesheet" type="text/css">
</head>
<body>
<center searchtype="mascara">
<form method="POST" name="addcliente">
<table width=1046 height=100>
<tr width="500">
<td width="110">
Nome:
</td>
<td colspan="3">
<input name="nome" type="text" required size="91" ><br/>
</td>
<td width="90">
Telefone:
</td>
<td width="280">
<input name="telefone" type="text" size="20"><br/>
</td>
</tr>
<tr>
<td width="110" rowspan="2">
Morada:
</td>
<td colspan="3" rowspan="2">
<input name="morada" type="text" size="91"><br/>
</td>
<td width="90">
Telemovel:
</td>
<td width="280">
<input name="telemovel" type="text" size="20"><br/>
</td>
</tr>
<tr>
<td width="90">
Outro:
</td>
<td width="280">
<input name="outro" type="text" size="20"><br/>
</td>
</tr>
<tr>
<td width="110">
Código-Postal:
</td>
<td width="120">
<input name="codigopostal" type="text" size="20"><br/>
</td>
<td width="110">
Localidade:
</td>
<td width="331">
<input name="localidade" type="text" size="20"><br/>
</td>
<td width="90">
E-mail:
</td>
<td width="280">
<input name="email" type="text" size="20"><br/>
</td>
</tr>
</table>
<input name="adicionar" type="submit" value="Adicionar">
</form>
</center>
</body>
</html>
<html>
<head>
<meta charset="utf-8">
<title>addcliente</title>
<link href="Template/design.css" rel="stylesheet" type="text/css">
</head>
<body>
<center searchtype="mascara">
<form method="POST" name="addcliente">
<table width=1046 height=100>
<tr width="500">
<td width="110">
Nome:
</td>
<td colspan="3">
<input name="nome" type="text" required size="91" ><br/>
</td>
<td width="90">
Telefone:
</td>
<td width="280">
<input name="telefone" type="text" size="20"><br/>
</td>
</tr>
<tr>
<td width="110" rowspan="2">
Morada:
</td>
<td colspan="3" rowspan="2">
<input name="morada" type="text" size="91"><br/>
</td>
<td width="90">
Telemovel:
</td>
<td width="280">
<input name="telemovel" type="text" size="20"><br/>
</td>
</tr>
<tr>
<td width="90">
Outro:
</td>
<td width="280">
<input name="outro" type="text" size="20"><br/>
</td>
</tr>
<tr>
<td width="110">
Código-Postal:
</td>
<td width="120">
<input name="codigopostal" type="text" size="20"><br/>
</td>
<td width="110">
Localidade:
</td>
<td width="331">
<input name="localidade" type="text" size="20"><br/>
</td>
<td width="90">
E-mail:
</td>
<td width="280">
<input name="email" type="text" size="20"><br/>
</td>
</tr>
</table>
<input name="adicionar" type="submit" value="Adicionar">
</form>
</center>
</body>
</html>
Codigo css
Código :
/* CSS Document */
.mascara
{
background-image: url(img/ttduro.png);
background-repeat: no-repeat;
background-position: center center;
background-size: auto;
}
.mascara
{
background-image: url(img/ttduro.png);
background-repeat: no-repeat;
background-position: center center;
background-size: auto;
}