Hola,
Tengo una duda con el uso de las listas de definición.
Quierlo utilizarlas para mostrar noticias en el siguiente formato:

<dl>
    <dt>titular noticia 1</dt>
    <dd>fecha y medio noticia 1</dd>
    <dt>titular noticia 2</dt>
    <dd>fecha y medio noticia 2</dd>
    <dt>titular noticia 3</dt>
    <dd>fecha y medio noticia 3</dd>
</dl>

Hasta aquí todo bien, pero cuando lo visualizo veo que los <dd></dd> tienen un 
padding a la izquierda que no consigo quitar.
También me gustaría aplicar al elemento dd un border-bottom para separar una 
noticia una de otra... e fin que me encuetro que básicamente me permite aplicar 
estilos de diseño a las fuentes y poco mas... ¿es esto así, o algo estoy 
haciendo mal?

Aquí va la css (en #sala_prensa dl dt dd el padding, margin y border-bottom no 
me los representa):

#sala_prensa dl
{
    padding-left:15px;
}
#sala_prensa dl dt
{
    font-weight:bold;
    font-style:italic;
}
#sala_prensa dl dt dd
{
    padding:0;
    margin:0;
    color:#777;
    border-bottom:dashed 1px #DCDCDC;
}


Gracias por adelantado

------------------------------------------------------------------------------------------------------------------------
Carlos Acero Sánchez
Dpto.Sistemas - Área de desarrollo web

Aguirre Newman, S.A.

C/General Lacy, 23 - 28045 Madrid

Spain



T +34 91 319 13 14    F +34 91 319 87 57



Aguirre Newman. Big Ideas. Big Solutions. http://www.aguirrenewman.es 
<http://www.aguirrenewman.es/>



This message may contain confidential and/or privileged information. If you are 
not the addressee indicated in this message, you may not copy or deliver this 
message to anyone. If you received this in error, please contact the sender and 
delete the material from any computer. Opinions, Conclusions and other 
information in this message that do not relate to the official business of my 
company shall be understood as neither given nor endorsed by it.

Antes de imprimir este e-mail piense bien si es necesario hacerlo.
_______________________________________________
Lista de distribución Ovillo
Para escribir a la lista, envia un correo a Ovillo@lists.ovillo.org
Puedes modificar tus datos o desuscribirte en la siguiente dirección: 
http://lists.ovillo.org/mailman/listinfo/ovillo

Responder a