HTML - Ayuda porfavor! Hacer un Login no me deja hacer la caja!

 
Vista:

Ayuda porfavor! Hacer un Login no me deja hacer la caja!

Publicado por sergio (1 intervención) el 15/06/2014 22:37:34
Buenas estoy repasando para un examen y no me sale el css un ejercicio consiste en crear un formulario html con css, tengo el formulario creado, pero no me deja hacer la caja para cerrar el login y añadirle bordes margen padding color de fondo a el LOGIN.. etc porfavor si alguien me dice?


EL documento html es ese. Ayuda porfavor!!!!!!!!!!!!!!!!!!!!!

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 
<head>
<link href="/home/usuari/Escritorio/html/estilo.css"	rel="stylesheet" type="text/css">
<title>Registrar-se</title>
 
</head>
 
 
<body>
 
 
<form action="http://www.lamerce.com/" method="get">
<p>
 
<h2>Registrar-se</h2>
</p>
<label for="usuario">Usuari: </label>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="usuario" id="usuario">
 
<br/> <br/>
 
<label for="password">Password: </label>
&nbsp;&nbsp;
<input type="text" name="password" id="pass">
 
<br/> <br/>
 
Cicle Formatiu:
 
<input type="radio" name="CFGM" id="CFGM" value="CFGM">
 
<label for="CFGM"> CFGM </label>
 
&nbsp;
 
<input type="radio" name="CFGS" id="CFGS" value="CFGS">
 
<label for="CFGS">CFGS </label>
 
<br></br>
 
<input type="radio" name="recordar" id="recordar" value="recordar">
 
<label for="recordar">Recordar el meu nombre d'usuario en<p></p> aquest ordinador </label>

<br/> <br/>

<input type="submit" value="Enviar">

<input type="reset">


</p>



</form>

</body>

</html>
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder
Imágen de perfil de xve
Val: 1.144
Oro
Ha mantenido su posición en HTML (en relación al último mes)
Gráfica de HTML

Ayuda porfavor! Hacer un Login no me deja hacer la caja!

Publicado por xve (1543 intervenciones) el 16/06/2014 09:05:03
Hola Sergio, no nos muestras el archivo estilo.css...

Pero prueba a poner esto en la cabecera de tu web (<head>)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<style>
form {
	background:#ddd;
	border:1px solid;
	display:inline-block;
	padding:10px;
}
h2 {
	color:#808080;
}
input[type='submit'] {
	float:right;
}
</style>

Espero que te sirva.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar