CSS - Formateo H1 e Input

 
Vista:
sin imagen de perfil

Formateo H1 e Input

Publicado por Javier (2 intervenciones) el 12/06/2015 22:02:50
Hola: Quisiera saber como hacer para ubicar un titulo con la etiqueta H1 y que al lado derecho de ese titulo, pueda ubicar un par de botones con input. SIN USAR TABLAS.
Muchas gracias!!!
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: 624
Oro
Ha mantenido su posición en CSS (en relación al último mes)
Gráfica de CSS

Formateo H1 e Input

Publicado por xve (490 intervenciones) el 13/06/2015 08:43:47
Hola Javier, no se si te he entendido bien, pero simplemente poniendo los botones dentro del <h1>... algo así:
1
2
3
4
5
<h1>
	titulo
	<input type="button" value="boton1">
	<input type="button" value="boton2">
</h1>

Si los quieres fuera del <h1>, podría ser algo así:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!doctype html>
<html>
<head>
	<title>Contacts</title>
	<style>
	h1 {display: inline-block;}
	</style>
</head>
 
<body>
	<h1>titulo</h1>
	<input type="button" value="boton1">
	<input type="button" value="boton2">
</body>
</html>

Coméntanos si es esto lo que buscas, ok?
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
1
Comentar