WordPress.org

Ready to get started?Download WordPress

Forums

How to put everything inside a DIV tag with scrollbars? (3 posts)

  1. basil_555
    Member
    Posted 5 years ago #

    Hello,

    I want to put all the content of my site (everything inside the BODY tag) in a DIV tag with scrollbars. How could I do that?

    Thanks!

  2. darryla
    Member
    Posted 5 years ago #

    as you say, put it all in a div and then use the following CSS:

    div#main {
    height: 600px
    overflow: scroll;
    }

    a more comprehensive tutorial here:

    http://www.w3schools.com/Css/tryit.asp?filename=trycss_overflow

  3. basil_555
    Member
    Posted 5 years ago #

    I use MistyLook theme. And for some reason this approach doesn't work with it... :(

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.