Probleme CSS incompréhensible!!

WRInaute occasionnel
bonjour

Je ne comprends pas quand je clique pour commenter un article.Le sidebar à droite et à gauche se décale complètement vers le bas .Je sais que ça doit être lié au CSS mais je ne sais pas ou.
voici un exemple site :
http://www.tendance.info11.net/2007/06/ ... l#comments

Je ne comprend vraiment pas d'où vient le problème .Ca fait un bon bout de temps que je cherche .Si quelqu'un a une idée , ca m'aiderait énormément.

Merci

le blog est fait sous wordpress
voici le code de comments.php


<?php // Do not delete these lines

if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME']))

die ('Please do not load this page directly. Thanks!');

if (!empty($post->post_password)) { // if there's a password

if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie

?>

<h3><?php _e("This post is password protected. Enter the password to view comments."); ?></h3>

<?php

return;

}

}

$commentalt = '_alt';

$commentcount = 1;

?>

<div id="comment_templates">
<div class="subscribe">Souscrire &agrave; <?php comments_rss_link('Comment RSS'); ?> or <a href="<?php trackback_url(display); ?>">TrackBack URL</a></div>

<div class="clear_div"></div>

<?php if ( $comments ) : ?>

<? // Begin Comments ?>
<?php foreach ($comments as $comment) : ?>
<? if ($comment->comment_type != "trackback" && $comment->comment_type != "pingback" && !ereg("<pingback />", $comment->comment_content) && !ereg("<trackback />", $comment->comment_content)) { ?>


<div class="comment_block<?php echo $commentalt; ?>" id="coms_<?php comment_ID() ?>">

<div class="comment_avatar"><?php if(function_exists("MyAvatars")) : ?> <?php MyAvatars(); ?><?php else: ?><img src="<?php bloginfo('stylesheet_directory'); ?>/images/mygif.gif" alt="mygif" witdh="48" height="48"/><?php endif; ?></div>

<div class="comment_entry">

<div class="com_author<?php echo $commentalt; ?>"><span class="com_id"><?php comment_ID() ?>.</span>&nbsp;<?php comment_author_link(); ?> said in <?php the_time('F jS, Y') ?><?php edit_comment_link('Edit', '| ', ''); ?></div>
<div class="com_text<?php echo $commentalt; ?>"><?php comment_text() ?></div>
<div class="com_close<?php echo $commentalt; ?>"></div>
</div>

</div>

<div class="com_clear"></div>

<?php

($commentalt == "_alt")?$commentalt="":$commentalt="_alt";

$commentcount++;

?>

<? } ?>

<?php endforeach; /* end for each comment */ ?>

<? // Begin Trackbacks ?>
<?php foreach ($comments as $comment) : ?>
<? if ($comment->comment_type == "trackback" || $comment->comment_type == "pingback" || ereg("<pingback />", $comment->comment_content) || ereg("<trackback />", $comment->comment_content)) { ?>

<? if (!$runonce) { $runonce = true; ?>
<div class="com_clear"></div>
<div class="com_clear"></div>
<h5>Track &amp; Pingback </h5>
<em>Trackback and pingback from other blogger</em>
<div class="com_clear"></div>
<? } ?>

<div class="ping_block" id="ping_<?php comment_ID() ?>">
<span class="ping_date"><?php comment_date('F jS, Y') ?> at <?php comment_time() ?></span>
<span class="ping_from"><?php comment_author_link(); ?> Mention pour cette Article....</span></div>
<div class="com_clear"></div>

<? } ?>
<?php endforeach; ?>
<? if ($runonce) { ?>
<? } ?>
<? // End Trackbacks ?>

<?php endif; ?>

<? // End Comments ?>

<?php if ('open' == $post->comment_status) : ?>

<?php if (get_option('comment_registration') && !$user_ID) : ?>

<h6>Sorry the comment area are closed</h6>

<?php else : ?>

<div class="com_clear"></div>

<h4>Laisser un Commentaire</h4>
<span class="status"><?php if ($user_ID) : ?>Vous &ecirc;tes loggu&eacute; en tant : <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>&nbsp;|&nbsp;<a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Log out of this account') ?>">Logout</a>&nbsp;|&nbsp;<?php endif; ?><a href="<?php echo get_settings('home'); ?>">Accueil</a></span>
<span class="status"><?php previous_post_link('%link') ?> | <?php next_post_link('%link') ?></span>
<div class="clear_div"></div>

<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post">

<?php if (!$user_ID) : ?>

<div id="st_effect">
<p><input name="author" type="text" value="<?php echo $comment_author; ?>" />&nbsp;Username</p>
<p><input name="email" type="text" value="<?php echo $comment_author_email; ?>" />&nbsp;Email Address</p>
<p><input name="url" type="text" value="<?php echo $comment_author_url; ?>" />&nbsp;Website</p>
</div>

<?php endif; ?>

<div id="sa_effect">
<p><textarea name="comment" cols="70%" rows="8" id="comments"></textarea></p>
</div>

<div id="sbm_effect">
<p><input name="submit" type="submit" value="Valider" /><input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /></p>
</div>


</form>

<div class="com_clear"></div>

<em>Notice: Les commentaires sont soumises &agrave; mod&eacute;ration</em>

<div class="com_clear"></div>
<?php
$this_post = $post;
$category = get_the_category(); $category = $category[0]; $category = $category->cat_ID;
$posts = get_posts('numberposts=6&offset=0&orderby=post_date&order=DESC&category='.$category);
$count = 0;
foreach ( $posts as $post ) {
if ( $post->ID == $this_post->ID || $count == 5) {
unset($posts[$count]);
}else{
$count ++;
}
}
?>

<?php if ( $posts ) : ?>
<div class="related_stuff">
<h6>Related Articles</h6>
<ul>
<?php function getWords($text, $limit) {
$array = explode(" ", $text, $limit +1);
if(count($array) > $limit) {
unset($array[$limit]);
}
return implode(" ", $array); }
?>
<?php foreach ( $posts as $post ) : ?>
<?php $mycontent = strip_tags($post->post_content);
$excerpt = getWords($mycontent, 15);
$a_title = $excerpt . "..."; ?>
<li><a href="<?php the_permalink(); ?>" title="<?php echo $a_title ?>">
<?php if ( get_the_title() ) { the_title(); } else { echo "Untitle"; } ?></a>
</li>
<?php endforeach // $posts as $post ?>
</ul>
<?php endif // $posts ?>
<?php
$post = $this_post;
unset($this_post);
?>
</div>

<?php endif; // If registration required and not logged in ?>

<?php endif; // if you delete this the sky will fall on your head ?>

</div>
 
WRInaute occasionnel
je crois que ca doit venir de ca.enfin je pense
.seo_fixed_content {
float: right;
width: 500px;
position: relative;
}
#post_init {
float: left;
width: 440px;
position: relative;
padding-right: 5px;
padding-left: 5px;
padding-bottom: 20px;
}
#sidebars {
float: right;
width: 340px;
padding-right: 5px;
padding-left: 5px;
padding-bottom: 20px;
}
.alter_mini_sidebar {
width: 128px;
padding-right: 5px;
padding-left: 10px;
background-color: #F2F2F2;
padding-bottom: 10px;
}
 
Discussions similaires
Haut