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

Home Forums CSS float or overflow problem!

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

    Hi there, I have a shop website I have several levels in my dropdown menu. All I want is, if the pages don’t fit for the box to expand to fit all of the child pages. If I set the width of the container to fit the pages in the fabric catergory (width: 500px) it accommodates all the pages, but by the time I get down to the third tier of pages it goes off the page. If I use this code (.nav li ul {
    overflow: scroll;
    overflow-x: hidden;)

    Then I don’t have a secondary dropdown menu. I just want the box to get bigger if it needs to accommodate lots of child pages in the given menu, but remain the normal size if the amount of child pages fit. (gosh I hope this is making sense to someone!)

    Please use fabric as the example on my site, it has loads of child pages you can’t see, and has some great grandchildren in the 100% cotton child.

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