Ver Mensaje Individual
  #3 (permalink)  
Antiguo 29/05/2008, 15:21
Avatar de Mikmoro
Mikmoro
Colaborador
 
Fecha de Ingreso: octubre-2006
Ubicación: K-pax
Mensajes: 7.228
Antigüedad: 17 años, 6 meses
Puntos: 280
Respuesta: Necesito ayuda con alineación de un parrafo.

Un ejemplo:

Cita:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="es-es">
<head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type" />
<title>KLAYMAN</title>
<style type="text/css">
.caja { border: 2px solid #f60;
width: 470px;
height: 120px;
}
.caja img { float: left;
margin: 10px 0px 0px 10px;
width: 139px;
height: 111px;
}
.texto { margin-left: 140px;
font-family: Verdana;
font-size: 14px;
font-weight: bold;
}
.texto p { margin: 20px 16px 6px 40px;
}
.texto a { color: #f00;
text-decoration: none;
margin-left: 60px;
}
</style>
</head>
<body>
<div class="caja">
<img src="tu_imagen.jpg" />
<div class="texto">
<p>Texto de ejemplo que debe quedar a la derecha de la imagen y
centrado a la altura de la imagen</p>
<a href="#">Enlace 1</a><a href="#">Enlace 2</a>
</div>
</div>
</body>
</html>
Mikel