Ver Mensaje Individual
  #4 (permalink)  
Antiguo 06/03/2008, 09:05
rubencdl
 
Fecha de Ingreso: marzo-2008
Mensajes: 14
Antigüedad: 16 años, 2 meses
Puntos: 0
Re: Eliminar espacio entre celdas

Cita:
Iniciado por juaniquillo Ver Mensaje
y el html?
Perdón.

Está hecho en php (Wordpress):
Código:
<table id="comentario">
                <tr>
                <td id="comentario">
                <?php if (get_comment_type()=="comment") : ?>
	
<li class="<?php if ( $comment->comment_author_email == get_the_author_email() ) echo 'mycomment'; else echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>">

		<p class="commentmetadata">Escrito por <strong><?php comment_author_link() ?></strong> el <?php comment_date('j \d\e F') ?> a las <?php comment_date('g:i a') ?> | <a href="#respond">Responder</a><?php edit_comment_link('Editar',' | ',''); ?></p>
		<?php if ($comment->comment_approved == '0') : ?>
		<em>Tu comentario está pendiente de aprobación.</em>
		<?php endif; ?>
                </td>
                </tr>
                <tr>
                <td id="comentario">
                <?php if ($comment->comment_author_email == get_the_author_email()) : ?>
		<img id="nomargin" src="http://files.motorsemanal.es/comentario-autor.gif" />
                <?php else : ?>	
		<img id="nomargin" src="http://files.motorsemanal.es/comentario.gif" />
		<?php endif; ?>
                </td>
                </tr>
                <tr>
                <td>
		<?php if ($comment->comment_author_email == get_the_author_email()) : ?>
		<div id="authorcommentcontent"><?php comment_text() ?></div>
                <?php else : ?>	
		<div id="commentcontent"><?php comment_text() ?></div>
		<?php endif; ?>
                </td>
                </tr>
                </table>
Espero que no sea muy lioso descifrar el código.


La id="nomargin" de la imagen en la CSS es esta:
Código:
img#nomargin {
margin : 0 0 0 0;
text-decoration : none;
}

Saludos.