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

Home Forums CSS positioning

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #35967

    I have been working a lot with relative and absolute positioning recently and I have noticed that if you do not provide a height for the parent div then the content that you position inside the div can overlap below the parent div. It doesn’t make the div expand to fit the content. Now I know that happens because when you position an element it takes it out of the normal flow. What is the best way to deal with this issue without providing a width and height? is there a way?

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