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 7817863
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T06:23:03+00:00 2026-06-02T06:23:03+00:00

ANyone know a good tutorial on how to to use css+html to define a

  • 0

ANyone know a good tutorial on how to to use css+html to define a layout similar to FB?

I am looking for a good example on how to have a header that is 100% and then a middle column as a body that is about 700px wide with one column on each side.

Updated:

I am not trying to understand CSS layout with div. Just trying to see if there is one way or common a way to do it

I am interested to know (using FB as an exmaple) .. how they are able to have those horizontal backgrounds and then have their content lined up in three columns or it is lined up in the middle.

  • 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-02T06:23:05+00:00Added an answer on June 2, 2026 at 6:23 am

    Here is the HTML:

    <html>
    <head>
    <link rel="styleSheet" href="style.css" type="text/css">
    </head>
    <body>
        <div id="header">Hello</div>
        <div id="sidebar">Sidebar</div>
        <div id="content">Content</div>
        <div id="sidebar-right">Right</div>
    </body>
    </html>
    

    and this is the css:

    body, html{
        width:      100%;
        height:     100%;
        margin:     0;
        padding:    0;
    }
    
    #header{
        width:      100%;
    padding-left:   200px;
        height:     50px;
        background: #0000FF;
    }
    
    #sidebar{
        float:      left;
        width:      200px;
        height:     100%;
        background: #FF0000;
    }
    
    #content{
        float:      left;
        width:      700px;
        height:     100%;
        background: #00FF00;
    }
    
    #sidebar-right{
        margin-left:900px;
        height:     100%;
        background: #FFFF00;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone know good example of using CSS to create rounded corner box where:
Does anyone know of some good tutorials that explain how to use the JQuery
Does anyone know of a good Django example/tutorial/book for a first hands on? It
Anyone know of a good beginners tutorial for Turbogears 2? I'm particularly interested in
Does anyone know where I can find a good explanation/tutorial of what and how
Does anyone know about a good tutorial/article/whatever to help me explain JavaScript ( with
Does anyone know the location of a good list or tutorial showing all the
Does anyone know any good tutorial on how to upload a file with php
Does anyone know of a good tutorial to achieve this? (as seen here: http://www.contrastrebellion.com/
Does anyone know of a good tutorial on iPhone GUI design using just code

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.