PHP - Agregar boton de link en formulario

 
Vista:
sin imagen de perfil

Agregar boton de link en formulario

Publicado por Jose (4 intervenciones) el 21/08/2017 19:30:25
Buen día, aquí molestando de nuevo.
Tengo el siguiente formulario, y necesito agregar estos dos input

1
2
<input type="button" value="Cerrar sesion" onClick=" window.location.href='cerrar_sesion.php' ">
<input type="button" value="Ir a Registros" onClick=" window.location.href='busqueda.html' ">

pero me gustaría que quedaran a la izquierda el formulario o al menos arriba de el

Gracias por su gran ayuda

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
<!DOCTYPE>
<html>
<head>
	<title> Index</title>
 
	<link rel="stylesheet" href="css3.css">
 
</head>
<body>
 
 
 
<div style="text-align:center ">
</br>
<form action="Registro.php" method="post" name="form">
<form>
<h1>Serial Number<h1>
<input  type="text" name="serial"  required max-length="13" placeholder="Scan Serial Number"/>
 
<h1>Model<h1>
 
 
 
<select id="cmbModel" name="Model"  required   onchange="document.getElementById('selected_text').value=this.options[this.selectedIndex].text">
     <option value="">Select Manufacturer</option>
     <option value="Any">--Any--</option>
     <option value="Model-1">Model-1</option>
     <option value="Model-2">Model-2</option>
     <option value="Model-3">Model-3</option>
     <option value="Other">Other</option>
</select>
<br>
<br>
<h1>Select production line<h1>
<select id="cmbline" name="line"  required   onchange="document.getElementById('selected_text').value=this.options[this.selectedIndex].text">
     <option value="">Select line</option>
     <option value="1">--Off-Line--</option>
     <option value="2">Line-1</option>
     <option value="3">Line-2</option>
     <option value="4">Line-3</option>
     <option value="5">Other</option>
</select>
<br>
<br>
 
 
<label for="mensaje">Description</label>
<br>
<textarea  name="mensaje" required placeholder="Fault description"></textarea>
<br>
<br>
<input type="submit" value="Enviar" />
 
</form>
</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 Georkis
Val: 75
Ha aumentado 1 puesto en PHP (en relación al último mes)
Gráfica de PHP

Agregar boton de link en formulario

Publicado por Georkis (32 intervenciones) el 21/08/2017 20:07:14
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE>
<html>
<head>
<title> Index</title>
<style>
    .inline-block > li {
        display: inline-block;
    }
</style>
 
<body>
    <ul class="inline-block">
        <li><input type="button" value="Cerrar sesion" onClick=" window.location.href='cerrar_sesion.php' "></li>
        <li><input type="button" value="Ir a Registros" onClick=" window.location.href='busqueda.html' "></li>
    </ul>
</body>
</html>
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