sorry
creating a new template for my website
and having issue with minimum and maximum height function
here is the code
#main{
width:100%;
min-height:400px;
max-height:2000px;
margin:auto;
margin-top:25px;
margin-bottom:50px;
}
single.php code
<div id="main">
<div id="main2">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h1> <a>"> <?php the_title(); ?></a></h1>
<h4>Posted on <?php the_time('F jS, Y') ?></h4>
<h4> About Author -
<?php
the_author_description();
?>
</h4>
<p></p>
<p><?php the_content(); ?></p>
<?php get_header(); ?>
</BR></BR>
<h6>Posted By <?php echo get_the_author() ?> | <?php echo comments_number('No comment', '1 comment', '% comments'); ?> </h6>
</BR>
<?php comments_template(); ?>
</BR>
<hr>
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
</div>
the theme is at https://edenhost.me