Forums

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

Home Forums CSS Div height not expanding to fit dynamic content

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #40725
    preitybansal
    Member

    Hi all,

    I am facing some issue with this site: http://ilelo-creation.info/wara-chaussure/la-marque/ I am working on it and the issue is when my sidebar gets extend the container div should also get expand with the content. But as it can be seen the sidebar is getting out of the div..

    Any help will be appreciated.

    Thank You

    #113906
    JohnMotylJr
    Participant

    I didnt really see how the sidebar on the right expands, couldnt you set your #primary div to a height?

    Something like adding a height of 340px;

    Im sorry, i think i misunderstood you, will the sidebar content be expanding by content that is added, or will the links be staying the same?

    #113909
    wolfcry911
    Participant

    add overflow: hidden; to #wrapped and move the background from #primary to #wrapped

    #113910
    preitybansal
    Member

    @ wolfcry911

    Thanx a lot.. it works :)

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