locked
Adjust height automatically or add scroll bars when needed RRS feed

  • Question

  • I have a DIV inside a portion of an HTML page that has a PHP script which inserts random HTML pages. Most of the random pages are two short paragraphs however a couple are larger.

    Is there some way to have the DIV or the inserted page have scroll bars, or increase in height automatically when needed?

    I tried to set the overflow to auto and scroll and the height to 100% and auto but neither helped.

    The page can be found at: http://www.tdgagolf.org/rules/TestPHP.php the inserted page will change at midnight tonight. The new insert may be smaller and fit. However today’s page which is several paragraphs and an image, can be found at: http://www.tdgagolf.org/rules/html-files/251b115.html

    Wednesday, December 1, 2010 8:30 PM