Forums

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

Home Forums CSS Add Scroll to Absolutely Positioned Element

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #45514
    siouxfan45
    Participant

    I’m working on a tablet-style, responsive online magazine design. One of the things I would like to do is add some content in a box which expands to meet the size of the browser window. I’ve achieved this below, but I’m not sure how to add a scrollbar to this box (#content) if there is overflow… I assume this is because it is absolutely positioned. Is there a workaround?
    http://codepen.io/anon/pen/hAvJw

    #138613
    Senff
    Participant

    You’re declaring overflow twice: once scroll and then hidden. Just do it once and make it auto.

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