$ 0 0 First Solution (preferred): You can condence the height of content area in master page.Second Solution: try below script, Hope this helps.