Ver Mensaje Individual
  #6 (permalink)  
Antiguo 11/05/2009, 03:06
Avatar de adriancitov7
adriancitov7
 
Fecha de Ingreso: abril-2009
Ubicación: New York
Mensajes: 75
Antigüedad: 15 años
Puntos: 4
Respuesta: Problema con float en IE6

con esto tendria que ir todo bien

Código:
<!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" xml:lang="es" lang="es">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>asdasdada</title>
<style type="text/css">
* {
	margin:0;
	padding:0;
}
body {
	text-align:center;
	font-family: Arial, Helvetica, sans-serif;
	font-size:0.6em;
}
.contenedor {
	width: 750px;
	margin:0 auto;
	height:40px;
	text-align:left;
	background-color: #E9E9E9;
}
a {
	color:#000;
	text-decoration:none;
	font-weight: bold;
	line-height: 40px;
}
.caja1 {
	float: left;
	padding-left: 80px;
	text-align: right;
}
.caja2 {
	float:right;
	width: 200px;
}
</style>
</head>
<body>
<div class="contenedor"> 
<div class="caja1"><a href="index.php">INICIO</a> - <a href="condiciones.php">CONDICIONES</a> - <a href="contacto.php">CONTACTO</a> - <a href="preguntas.php">PREGUNTAS FRECUENTES</a></div> 
<div class="caja2"><a href="index.php">ESPAÑOL</a> -<a href="e/index.php">ENGLISH</a></div> 
</div>
</body>
</html>
Saludos

Aqui lo puedes ver online

http://adriancito.co.cc/pruebas/caja2.html

PD:probado en ie 5.5,6,7,8 firefox 2+ , opera 8+, chrome ..bueno creo que funciona tambien en safari y valida .. me olvidaba el elemento a lo puedes especificar mejor para aplicar esa regla donde quieras y no afecte a todos los enlaces del mismo documento