Display nice codes form text area with CSS
Add this CSS to your stylesheet to properly display nice codes form text area
p, pre { margin: .1em 0 .77em; } pre { overflow: auto; width: 98%; padding: 1em 0 1em 1em; margin: 1em 0 1em 0; } pre, code, kbd { font-size: 1em; } code { color: red; background-color: inherit; }
<?php if (is_single() and ('open' == $post-> comment_status) or ('comment' == $post-> comment_type) ) { ?>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/prototype.js.php"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/effects.js.php"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/ajax_comments.js"></script>
<?php } ?>

Leave a Reply
You must be logged in to post a comment.