The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How to make an area expand to accomodate text

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #26931

    I have a pretty simple site that I possibly need some of the sub-pages to expand to make room for more text. Do I use percentages for the div height? This site is built with a top, a centered nav, a header area, the body and the footer. I want everything to stay the same size except for the body area. Can someone point me to examples of this type of layout? Or articles?
    Thanks in advance!


    A div, in its essence, is design to expand with content. If the div isn’t expanding, it’s probably due to the fact that it has a set height.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.