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.
---Joe Haffey, President Happy Brands Web Services www.happybrands.info
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.