Make Connections

Network, Get Answers, Find Members in Your Area, and More!

Forums » Building a Website that Works

How to fixed left and right div in webpage?

    • 79 posts
    June 7, 2013 6:28 AM EDT

    Hello Guys,
    I want to fixed left and right div in my website, and only should be scroll middle div on scrolling page.
    Please help how can i fixed that?
    Thanks.

    ---
    SEO Company India | SEO Service In Sydney | SEO Company Australia

    • 11 posts
    June 10, 2013 5:02 AM EDT

    Binary,

    I don't  know if tables are still standard practice but you might want to try creating a three column table.  You then cut and paste your code into the table.  Another method to try is the <aside> tag.  Happy coding. 

    Source:  https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5/HTML5_element_list

    ---
    Joe Haffey, President Happy Brands Web Services www.happybrands.info

    • 2 posts
    June 10, 2013 3:27 AM EDT

    Hi, 

    You will need to set overflow: auto; or overflow: scroll; on the center div. You may also have to absolute position the side divs so they stay put in position. It's hard to guess from the little info you give. 

    Post the portion of the code that has the issue and I'll try to help. 

    M.