Ver Mensaje Individual
  #5 (permalink)  
Antiguo 03/02/2007, 18:40
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
Re: Problema separacion entre parrafos explorer

Hola, spielberg. Creo que este código es semánticamente algo más correcto, y con el comentario condicional se ve exacto en IE y en FF, aunque no sé si es lo que necesitas:

Código:
<!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>
  <title>Tabla CSS</title>
  <meta name="GENERATOR" content="Quanta Plus" />
  <meta http-equiv="Content-Type"
 content="text/html; charset=iso-8859-15" />
  <style type="text/css">
body{
font-size: 62.5%;
font-family: Verdana, Helvetica, Arial, sans-serif;
margin-top:0;
padding-top:0;
}
input, select, th, td{
font-size: 1em;
}
#tabla {
width: 500px;
margin: 10px;
}
#tabla ul {
list-style:none;
text-align: center;
margin: 0px;
}
#tabla li {
width: 150px;
display:block;
float:left;
border: .05em solid #666;
padding: 1px;
margin: 0px;
}
#cabecera li {
font-weight: bold;
color: yellow;
background-color:#07A8FF;
}
  </style>
<!--[if IE]>
<style>
#tabla li {margin: -1px -1px 0 0;}
#cabecera li {margin: 0 -1px 0 0;}
</style>
<![endif]-->
</head>
<body>
<div id="tabla">
<ul id="cabecera">
  <li>Nombre</li>
  <li>Edad</li>
  <li>Color de ojos</li>
</ul>
<ul>
  <li>Javier</li>
  <li>23</li>
  <li>Marrones</li>
</ul>
<ul>
  <li>Pedro Juan</li>
  <li>45</li>
  <li>Casta&ntilde;os</li>
</ul>
<ul>
  <li>Leyre</li>
  <li>23</li>
  <li>Azules</li>
</ul>
<ul>
  <li>Jose Luis</li>
  <li>89</li>
  <li>Marrones
oscuros</li>
</ul>
</div>
</body>
</html>
De esta manera, tienes prácticamente registros xml (xhtml) a los que acceder por el DOM con AJAX.

A ver si te sirve.

Mikel.

P.D.: mira por dónde, yo también soy pamplonica. Qué casualidá.