View Full Version : Having trouble creating layout?

May 22nd, 2010, 08:44 AM
I've trying to design my page this way, but I'm having tons of problems. I've included a graphic that details what I need, so any help will be greatly appreciated.

My question basically is... How can I create the layout included here so that the browser doesn't show scrollbars? I've been trying for several hours, but I always end up getting the scrollbars.

The hardest part for me has been being creating the CONTENTS section, basically because it's based on the screen size. The CONTENTS table needs to fill out 100% of the space, starting from the position where it's set.

I can't set CONTENTS to 100% because the height of the page will then be 100% (of the screen height) + 60px (HEADER) + 30px (section over PAGE), making the page height greater than 100%, and displaying the vertical scrollbar.

Another problem I'm having is setting the SECTIONS. SECTION LEFT and SECTION RIGHT will be what's left of the space not being used up by CONTENTS (620px). So basically, if SCREEN.WIDTH equals 1000px, then each SECTION will be 1000px - 620px (from CONTENTS), divided by 2.

I'm not sure if I'm explaining myself well, and it's very late here.

Any help will be greatly appreciated.

Thanks again.