CSS/Coding issue (IE FF)
-
Well, it was my first time creating a theme for wordpress and everything was going well until IE decided it wanted to do things differantly. The link below is for a picture showing the differences.
http://img516.imageshack.us/my.php?image=problem4fh.jpg
As you can see, in IE the grey part extents well over where its meant to be, and theres no sign of the dark grey that is meant to be at the bottom. Ive gone through a load of the coding and I can’t find anything wrong in the coding as far as my knowledge goes. The coding that is around the problem area is below.
The CSS Code:
.post {
margin: 0 0 40px;
text-align: justify;
background:#999999;
-moz-border-radius:5px;
}.postmetadata {
text-align:center;
padding:5px;
margin:0 auto;
background:#666666;
-moz-border-radius:0px 0px 5px 5px;
}h2 {
display:block;
height:40px;
margin: 30px 0 0;
font-size:15px;
font-family:Verdana, Arial, Helvetica, sans-serif;
padding:10px 5px 5px 5px;
background:#666666;
-moz-border-radius:5px 5px 0 0;
}small {
font-size:10px;
}.entry {
padding-top:10px;
padding-bottom:10px;
}The Php Coding (on comments.php):
<?php if ($comments) : ?>
<h3 id=”comments”><?php comments_number(‘No Responses’, ‘One Response’, ‘% Responses’ );?> to “<?php the_title(); ?>”</h3><ol class=”commentlist”>
<?php foreach ($comments as $comment) : ?>
<li class=”<?php echo $oddcomment; ?>” id=”comment-<?php comment_ID() ?>”>
<cite><?php comment_author_link() ?></cite> Says:
<?php if ($comment->comment_approved == ‘0’) : ?>
Your comment is awaiting moderation.
<?php endif; ?><small class=”commentmetadata”>” title=””><?php comment_date(‘F jS, Y’) ?> at <?php comment_time() ?> <?php edit_comment_link(‘ (Edit)’,”,”); ?></small>
<?php comment_text() ?>
Anyone have any idea whats going on?
I can provide more/more accurate info if needed.
The topic ‘CSS/Coding issue (IE FF)’ is closed to new replies.