0

What css do i use to set up the standard 5 box website? i forget its formal name, whats it called? The website layout, with a header, footer, centred centre page and the a right and left side.

4
Contributors
5
Replies
6
Views
7 Years
Discussion Span
Last Post by drjohn
0

In my opinion this is the best reference:
http://matthewjamestaylor.com/blog/perfect-3-column.htm

That's one overly complicated way to get a simple three col layout!!!

<div id=wrapper>
<div id=header>
</div>
<div id=left>
</div>
<div id=content>
</div>
<div id=right>
</div>
<div id=footer>
</div>
</div>

That's how the rest of the world does it. With left, content and right all floated left. body has margin 0 and padding 0. Wrapper is given padding 0 and usually margin 0 auto. Width for header and footer usually the same as wrapper, and they both have margin 0 and padding 0.

Job done.

PS Formal name? ? ?

Edited by drjohn: n/a

0

Aww thanks man, formal name, i just meant are lecturer referred to the website with a header, left, centre, right, and footer as something. Doesn't matter. Thanks guys.

0

Perhaps the lecturer said standard three column layout

It's not an official name or anything, just something many people call it.

There's also the joke name of "Holy Grail" layout

Edited by drjohn: n/a

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.