Ver Mensaje Individual
  #4 (permalink)  
Antiguo 25/03/2005, 22:35
thunder.scripts
 
Fecha de Ingreso: febrero-2005
Mensajes: 670
Antigüedad: 19 años, 2 meses
Puntos: 0
Claro, te lo muestro acá, aunque con CSS es un poco más complejo es bastante más práctico:
Código HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
#imagen1, #imagen2 {
	text-align: center;
	width: 250px;
	border: 1px solid #000000;
}

#imagen1 {
	float: left;
}
#imagen2 {
	margin-left: 260px;
}
</style>
</head>

<body>

<div id="imagen1">
	<img src="imagen1.jpg" alt="Mi mate" width="150" height="150">
	<p>Me encanta mi mate</p>
</div>

<div id="imagen2">
	<img src="imagen1.jpg" alt="Mi mate" width="150" height="150">
	<p>Me encanta mi mate</p>
</div>

</body>
</html> 
Lo ideal sería que todo lo que está en <style> lo guardes en un archivo externo de extensión .css y lo llames del html, para separar diseño de estructura, pero bueno, para más info andá al foro de CSS ;)

Código HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="estilos.css">
</head>

<body>

<div id="imagen1">
	<img src="imagen1.jpg" alt="Mi mate" width="150" height="150">
	<p>Me encanta mi mate</p>
</div>

<div id="imagen2">
	<img src="imagen1.jpg" alt="Mi mate" width="150" height="150">
	<p>Me encanta mi mate</p>
</div>

</body>
</html> 
Suerte
Fede
__________________
Federico H. García
Desarrollo Web
www.federicog.com.ar