Ver Mensaje Individual
  #3 (permalink)  
Antiguo 06/10/2009, 20:14
Avatar de deirdre
deirdre
 
Fecha de Ingreso: mayo-2009
Mensajes: 690
Antigüedad: 14 años, 11 meses
Puntos: 45
Respuesta: Problemas al centrar capa en mozilla

No utilices tablas para algo tan sencillo. Y mejor sacar el estilo fuera de línea. Prueba esto (funciona en todos los navegadores):

Código HTML:
<!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">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Centrar capa en el ancho</title>
<style type="text/css">
#botonera {
	margin: 82px auto; 
	width: 914px; 
	height: 205px; 
	z-index: 1; 
	border: 1px solid #444; /*el borde es sólo para testar*/
}
</style>
</head>

<body>
	<div id="botonera"></div>
</body>

</html> 
Bye