Ver Mensaje Individual
  #5 (permalink)  
Antiguo 05/06/2008, 07:09
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: problema con lista y div

Quizá se trate del doctype que usas. Este código no deja ningún margen en FF:

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>
<title>asmodeo</title>
<style type="text/css" media="screen">
#uno { margin:0;padding:0;background-color:#99CC99;border:0; }
#uno ul {
margin: 0;
padding: 0;
}
#uno li {
display: inline;
padding: 0 20px 0 0;
margin: 0;
margin-right:1em;
background-color:#0033CC;
}
</style>
</head>
<body>
<div id="uno"><ul><li>hjhj</li><li>yuyuiu</li></ul></div>
</body>
</html>
Mikel.