Foros del Web » Creando para Internet » HTML »

Alinear botones en una misma linea

Estas en el tema de Alinear botones en una misma linea en el foro de HTML en Foros del Web. Cómo alineariais estos 2 botones de comando? cada uno de ellos pertenece a 1 form diferente: <p align="center"> <form action="xxx" method=post> <input type="submit" name="Submit" value="Si" ...
  #1 (permalink)  
Antiguo 01/09/2004, 09:33
Avatar de Laika  
Fecha de Ingreso: octubre-2001
Mensajes: 1.376
Antigüedad: 22 años, 5 meses
Puntos: 0
Alinear botones en una misma linea

Cómo alineariais estos 2 botones de comando? cada uno de ellos pertenece a 1 form diferente:

<p align="center">
<form action="xxx" method=post>
<input type="submit" name="Submit" value="Si" >
</form>
<form action="xxx" method=post>
<span lang="es">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p; </span>
<input name="Submit2" type="submit" value="No">
</form>
</p>


Laika
  #2 (permalink)  
Antiguo 01/09/2004, 09:48
Avatar de Khronos  
Fecha de Ingreso: agosto-2004
Ubicación: Venezuela, PLC
Mensajes: 218
Antigüedad: 19 años, 7 meses
Puntos: 0
mmm, realmente no he trabajado mucho formularios , pero se me ocurre ke intentes esto a ver si te funciona:
<p align="center">
<form action="xxx" method=post>
<input type="submit" name="Submit" value="Si" >
&nbsp;
<input name="Submit2" type="submit" value="No">
</form>
</p>
__________________
When someone dies in the grip of a powerful rage... A curse is born. The curse gathers in that place of death. Those who encounter it will be consumed by its fury.
  #3 (permalink)  
Antiguo 01/09/2004, 09:51
Avatar de Khronos  
Fecha de Ingreso: agosto-2004
Ubicación: Venezuela, PLC
Mensajes: 218
Antigüedad: 19 años, 7 meses
Puntos: 0
Adicional

Adicionalmente mira esto, con lo cual alinias ambos al centro, dentro del mismo form:
<p align="center">
<form action="xxx" method=post style="text-align:center">
<input type="submit" name="Submit" value="Si" >
&nbsp;
<input name="Submit2" type="submit" value="No">
</form>
</p>
__________________
When someone dies in the grip of a powerful rage... A curse is born. The curse gathers in that place of death. Those who encounter it will be consumed by its fury.
  #4 (permalink)  
Antiguo 01/09/2004, 09:54
Avatar de Laika  
Fecha de Ingreso: octubre-2001
Mensajes: 1.376
Antigüedad: 22 años, 5 meses
Puntos: 0
Cada boton en un Form distinto

Necesito tener cada boton en un Form distinto
  #5 (permalink)  
Antiguo 01/09/2004, 09:59
Avatar de Khronos  
Fecha de Ingreso: agosto-2004
Ubicación: Venezuela, PLC
Mensajes: 218
Antigüedad: 19 años, 7 meses
Puntos: 0
Y así ke tal?
<form action="xxx" method=post style="text-align:center">
<input type="submit" name="Submit" value="Si" >
</form>
<form action="xxx" method=post style="text-align:center">
<input name="Submit2" type="submit" value="No">
</form>
__________________
When someone dies in the grip of a powerful rage... A curse is born. The curse gathers in that place of death. Those who encounter it will be consumed by its fury.
  #6 (permalink)  
Antiguo 01/09/2004, 09:59
Avatar de PatomaS
Colaborador
 
Fecha de Ingreso: marzo-2004
Ubicación: En alguna otra parte
Mensajes: 4.656
Antigüedad: 20 años
Puntos: 63
Hola

Hay muchas maneras, sin importar cuantos forms tengas.

1. en dos celdas de una tabla
2. con dos capas alineadas.
3. con listas no ordenadas, y cusando estilos que eliminen la típica bolita y usando el float: left.
4. con dos iframes (puestos a inventar) ;)
5. ...

Felicidad
__________________
¡ hey, hou, hou, hey !
  #7 (permalink)  
Antiguo 01/09/2004, 10:05
Avatar de Laika  
Fecha de Ingreso: octubre-2001
Mensajes: 1.376
Antigüedad: 22 años, 5 meses
Puntos: 0
No quería usar tablas pero bueno, En una tabla de 1x2 mejor.

Gracias
  #8 (permalink)  
Antiguo 01/09/2004, 10:53
Avatar de tunait
Moderadora
 
Fecha de Ingreso: agosto-2001
Ubicación: Terok Nor
Mensajes: 16.805
Antigüedad: 22 años, 7 meses
Puntos: 381
Qué tal,

prueba así

<p align="center">
<form action="xxx" method=post style="display:inline">
<input type="submit" name="Submit" value="Si" >
</form>
<form action="xxx" method=post style="display:inline">
<span lang="es">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p; </span>
<input name="Submit2" type="submit" value="No">
</form>
</p>

  #9 (permalink)  
Antiguo 07/09/2004, 02:38
Avatar de Laika  
Fecha de Ingreso: octubre-2001
Mensajes: 1.376
Antigüedad: 22 años, 5 meses
Puntos: 0
Así sí, ¡y sin tablas!.

No conocia ese Style.

Muchas gracias,

Laika
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 01:55.