Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8313177
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T20:24:17+00:00 2026-06-08T20:24:17+00:00

I have been reading around about best practices when doing developing a website. But

  • 0

I have been reading around about best practices when doing developing a website. But I am still curious because the answers are found are mostly various, depend on a project’s scope and many other considerations.

But just to cut it short, basically I wanted to ask about a proper formatting for 3 main elements in a website.

  1. Header
  2. Main/Body
  3. Footer

How is the structure should be build? Are those three should be wrapped in a container like this:

<div class="wrap">
    <div class="header"></div>
    <div class="body"></div>
    <div class="footer"></div>
</div>

And how is the styling should be done? I saw some people advised to use position:absolute for the CSS, while some others use relative instead. Sorry for the very basic question, but I am really confused about this at this current point of my learning.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T20:24:18+00:00Added an answer on June 8, 2026 at 8:24 pm

    HTML 5 example. Now a days best Layout width is 960. .content{ width:960px }

    <!-- Outer Div -->
    <div id="content">
        <!-- Inner Content -->
        <div id="content-inner">
    
            <!-- header -->
            <header>
              <div class="header">
                <div id="header_wrapper"></div>
              </div>
             </header>
    
             <!-- body -->
             <div id="content-body">
                <section></section>
                <section></section>
             </div>
        </div>
    
        <!-- footer -->
        <footer>
             <div class="footer">
                <div id="footer_wrapper"></div>
              </div>
        </footer>
    
    </div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been reading around for other answers but i am still not understanding
I have been reading around about people using J#. But my question is: What
I have been reading other questions and answers around this but I am not
I'm new to C# and .NET, ,and have been reading around about it. I
Probably a very newbie question but, Ive been reading around and have found some
Have been reading about async and tasks and been attempting to convert the CopyFileEx
I have been reading about making ajax heavy applications more search engine friendly: https://developers.google.com/webmasters/ajax-crawling/docs/getting-started
I have been reading conflicting information about the use of #define macros in iOS
I have been reading a lot about QR codes and how the code itself
I have been reading about MVP, MVVM and have used asp.net MVC in couple

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.