Ver Mensaje Individual
  #6 (permalink)  
Antiguo 27/03/2006, 15:51
Avatar de kahlito
kahlito
Colaborador
 
Fecha de Ingreso: marzo-2003
Ubicación: En el Estrecho y el mar
Mensajes: 2.936
Antigüedad: 21 años, 1 mes
Puntos: 65
Hola de nuevo.

Se me habia olvidado restar el margen izquierdo para que quede justo al centro:

Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Probando</title>
<style type="text/css">
#caja_imagen{
text-align:center;
margin-left:-400px;}
img{position:absolute; bottom:0;}
</style>
</head>
<body>
<div id="caja_imagen">
<img src="imagen.jpg" alt="Tu imagen" width="400" height="80" longdesc="Probando imagen abajo y en el centro" /></div>
</body>
</html> 
Ahí se le resta el margen izquierdo sumando el ancho de la imagen, en este caso suponiendo que son 400 por ejemplo ylisto.

Saludosss