Brian Gilbert wrote:
>>>>> I'm creating a website at the moment and have put the rough pages up on
>>>>> Brian Gilbert
> If its not to much trouble could you describe that basic steps that are
> required to build a auto centering page from scratch and how best to name
> the various divs so that I can understand how the structure works and how it
> can be modifies and built upon?
1/ Horizontally centering the page on the screen.
2/ A simple naming convention for a two-column layout with horizontal
navigation under the header /might be:/
#header (contains h1-- the document-title, and the logo).
#hnav (contains the horizontal navigation).
#content (contains the primary content of the page).
#sidebar (contains the secondary content of the page and vertical
navigation if any).
#footer (contains tertiary and incidental information.)
Float (rather than absolute positioned) structured layouts will work
better for you. Layouts that employ floats in combination with negative
margins tend to be very stable, and robust cross-browser (in addition to
allowing the preference some authors have for putting the primary
content first in the document source order). This a set of various 2 & 3
column float layouts using these principles:
(n.38 at the bottom of the set is probably closest to what I assume you
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/