Ver Mensaje Individual
  #3 (permalink)  
Antiguo 05/06/2012, 13:56
Avatar de IsaBelM
IsaBelM
Colaborador
 
Fecha de Ingreso: junio-2008
Mensajes: 5.032
Antigüedad: 16 años, 4 meses
Puntos: 1012
Respuesta: Menu con css que se deforma

prueba con este
Cita:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin título</title>
<style type="text/css">
* {
position: relative;
margin: 0;
padding: 0;
}


body {
margin: 0;
}


ul {
width: 1100px;
list-style-type: none;
margin: 0 auto;
}


#nav li {
background-color: yellowGreen;
width: 19%;
height: 50px;
float: left;
text-align: center;
}


#nav li a {
position: relative;
top: 25%;
text-decoration: none;
font-size: 1em;
font-family: tahoma;
}


#nav li a:hover {
top: 15%;
font-size:1.5em;
}
</style>
</head>
<body>

<ul id="nav">
<li><a href="#">Inicio</a></li>
<li><a href="#">Quienes Somos</a></li>
<li><a href="#">Servicios</a></li>
<li><a href="#">Contacto</a></li>
<li><a href="#">Otros</a></li>
</ul>

</body>
</html>
__________________
if(ViolenciaDeGénero) {alert('MUJER ASESINADA');}