Its not the problem with php . Its manly due to the design . Try to add lots of contents to the html itself , and you will recognise it. Some times the designer may have added height in the class of the div , which causes it not to expand . So remove the height from css for the particular class. eg: <div class="hari"><p>dfsdfsfdf </p></div> In css .hari { padding 5px 0px 0px 5px; height 350px; //Remove this height , its not needed . } Hari K T http://www.harikt.com/ http://ijust4u.blogspot.com/ --- On Fri, 6/2/09, vimal goradiya <vimal_ments2005@xxxxxxxxxxx> wrote: From: vimal goradiya <vimal_ments2005@xxxxxxxxxxx> Subject: Problem in css while using PHP To: php-objects@xxxxxxxxxxxxxxx Date: Friday, 6 February, 2009, 2:57 PM Hello friends, I have a little problem with browser competebility. Height of DIV is not adjust automatically when PHP content is added. In IE it works properly, while Firefox it is now expand & height is being static. So, have face this problem. Send reply urgently.... Add more friends to your messenger and enjoy! Go to http://messenger. yahoo.com/ invite/ [Non-text portions of this message have been removed] Check out the all-new face of Yahoo! India. Go to http://in.yahoo.com/ [Non-text portions of this message have been removed]