Dear Mr.Antonio,
Thankyou for the info. I tested in IE 8 beta and is working fine. So the problem is only with Mozila FireFox and IE versions below 7. Fortunately both FireFox and IE 6 are showing the code section in expanded view mode and hence it is more readable
Hope FireFox supports max-Height style in future and all web browsers support a common standard so that we don't have to bother about the HTML Browsers while coding and developing web sites.
Regards
Anser