Lav kode kompetibel med Safari browser
Hej,Jeg har en kode der virker fint på Internet Explorer men når jeg surfer ind på den med Safari browseren står tabellerne meget sjovt.
Er der nogen mulighed for at optimere nedenstående kode og CSS så det også virker med Safari?
Kode:
<ul class="commentlist">
<?php foreach ($comments as $comment) : ?>
<li <?php echo $oddcomment; ?>id="comment-<?php comment_ID() ?>">
<div class="quote"><?php comment_text() ?></div>
<?php if ($comment->comment_approved == '0') : ?>
<div class="comment_security">(Din kommentar afventer godkendelse)</div>
<?php endif; ?>
</li>
<cite><?php echo get_avatar( $id_or_email, $size = '25', $default = 'http://www....../default_gravatar.gif' ); $rating = 'G' ?> <?php comment_author_link() ?> den <?php comment_date('j. F, Y') ?> kl. <?php comment_time() ?>. <?php if (function_exists('quoter_comment')) { quoter_comment(); } ?><?php edit_comment_link('Rediger',' ',''); ?></cite>
<?php
/* Changes every other comment to a different class */
$oddcomment = ( empty( $oddcomment ) ) ? 'class="alt" ' : '';
?>
<?php endforeach; /* end for each comment */ ?>
</ul>
CSS:
.commentlist .quote {
background:url(http://www....../bg_quote.gif) no-repeat top right;
line-height:16px;
font-size:12px;
padding-top:6px;
}
.commentlist li {
padding-top: 3px;
padding-left: 22px;
padding-right: 18px;
padding-bottom: 5px;
margin-top:20px;
background:#f4f4f4 url(http://www...../bg_commentlist.gif) bottom no-repeat;
color:#5a5a5a;
}
.comment_security {
font-style:italic;
color:#ce7575;
padding-bottom:20px;
}
.commentlist cite {
display:block;
font-style:normal;
padding-left:33px;
line-height:16px;
}
.quoter {
padding-left:33px;
}
