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

Home Forums CSS positioning and heights

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

    Left container with absolute positioning holding 2 relatively positioned divs.

    The problem is the purple div doesn’t use auto height (it’s only visible with a fixed width) and the whole page is kinda responsive.

    The Purple div has content from a different site/service (

    I should also mention we avoided specifying px widths & heights to elements. If necessary, percentages were used. How do I make the purple div fit well to any given browser height?



    Do you have a link to a live site so we can inspect the code?

    Kitty Giraudel

    Could you put your code on CodePen or JSFiddle please? It’d help. :)


    Okay! Lemme get it up on CodePen! Thanks


    [Here’s the link to the code on codepen…]( “Live code.”)


    Forgive me for the untidiness of the code… I haven’t had much time to trim it down. :$


    Perhaps you could provide a link to a website or give us an image of what it is supposed to look like.

    The Codepen doesn’t look like much at the moment and isn’t helpful especially as none of the images will come through.

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