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

  • Home
  • SEARCH
  • 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 8063081
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T10:54:06+00:00 2026-06-05T10:54:06+00:00

CSS beginner here, I’m at my wits end with a relatively simple css layout

  • 0

CSS beginner here, I’m at my wits end with a relatively simple css layout and was hoping someone would just look over it for me..

What i’ve got: enter image description here

CSS embedded temporarily, excuse the indenting (i’ve just come from programming and indenting was helping me make sense of it):

<!DOCTYPE HTML>
<html lang="en">

<style>

* {margin: 0; padding:0;}
body
{
    font: normal 100% Helvetica, Arial, sans-serif;
    background-color: LightSkyBlue;
    margin: auto auto;
    max-width: 90%; 
}

#central_container
{
    background-color: Yellow;
    width: 100%;
    margin: auto auto;
    float: left;
}
#leftside_container
{
    background-color: Ivory;
    float: left;
    width: 66%; 
    clear: left;
}
    #header_container
    {
    background-color: DeepSkyBlue;
    width: 100%;
    height: 15em;
    }
        #header_title
        {
            background-color: Lime;
            width: 100%;
            height: 80%;
        }
            #header_title h1{ padding: 0; margin: 0; }
            
        #navbar_container
        {
            background-color: Coral;
            width: 100%;
            height: 20%;
        }
            .navbar_links{ background-color: HotPink; }
            
        #currentpage_content
        {
            background-color: grey;
            width: 100%;
            height: 20%;
        }

#rightside_container
{
    background-color: Khaki;
    float: right;
    width: 33%; <!--/* 320 /960 */-->
}
    #register_container
    {
        background-color: LightPink;
        width: 100%;
    }
    #contacts_content
    {
        background-color: SeaGreen;
        width: 100%;
    }

</style>


<head>
    <title>Verge Green IT</title>
    <link rel="stylesheet" href"CSS/base.css" type="text/css" />
</head>


<body>
<div id="central_container">


    <!--Left-side Current-page Content-->
    <div id="leftside_container">
    
        <!--Header-->
        <div id="header_container">
        
            <div id="header_title">
            <h1>#header_title</h1>
            </div>
        
            <!--Navbar-->
            <div id="navbar_container"> 
            <div class="navbar_links">
            </div>
            </div>
        
        
        </div>
        <!--Current Page Contents-->
        <div id="currentpage_content">
            <p> #currentpage_content</p>
            <p>"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."</p><p>
            "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."</p>
        </div>
        
    </div>
    
    <!--Right-side Every-page Content-->
    <div id="rightside_container">
        <div id="register_container"><p> #register_container </p></div>
        <div id="contacts_content"><p> #contacts_content</p></div>
    </div>
    
    
</div>
</body>


</html>

What i’m aiming for: enter image description here

(Vague text alternative: Where the register_container fills the rightside_container up to the height of the bottom of the navbar_container. And the contact_content fills up the rest of the rightside_container as the current_page content does on the leftside_container. )

I think i’m having some trouble because of the floating i’m trying to do.. and i have no idea why there’s empty yellow space on the left of register_container/contacts_content. Nor why i can specify height for things like the header_title but not the register_container.

Really appreciate any help!

  • 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-05T10:54:08+00:00Added an answer on June 5, 2026 at 10:54 am

    I think you have some minor problems with values you have given in the Width and height field.

    This works fine for me.

    <!DOCTYPE HTML>
    <html lang="en">
    
    <style>
    
    * {margin: 0; padding:0;}
    body
    {
        font: normal 100% Helvetica, Arial, sans-serif;
        background-color: LightSkyBlue;
        margin: 0 auto;
        max-width: 90%; 
        height: auto;
    }
    
    #central_container
    {
        background-color: Yellow;
        width: 100%;
        margin: 0 auto;
        height: 100%;
        float: left;
    }
    #leftside_container
    {
        background-color: Ivory;
        float: left;
        width: 66%; 
        clear: left;
    }
        #header_container
        {
        background-color: DeepSkyBlue;
        width: 100%;
        height: 15em;
        }
            #header_title
            {
                background-color: Lime;
                width: 100%;
                height: 80%;
            }
                #header_title h1{ padding: 0; margin: 0; }
    
            #navbar_container
            {
                background-color: Coral;
                width: 100%;
                height: 20%;
            }
                .navbar_links{ background-color: HotPink; }
    
            #currentpage_content
            {
                background-color: grey;
                width: 100%;
                height: 20%;
            }
    
    #rightside_container
    {
        background-color: Khaki;
        float: right;
        width: 34%; <!--/* 320 /960 */-->
    }
        #register_container
        {
            background-color: LightPink;
            width: 100%;
        height:240px;
        }
        #contacts_content
        {
            background-color: SeaGreen;
            width: 100%;
    height:250px;
        }
    
    </style>
    
    
    <head>
        <title>Verge Green IT</title>
        <link rel="stylesheet" href"CSS/base.css" type="text/css" />
    </head>
    
    
    <body>
    <div id="central_container">
    
    
        <!--Left-side Current-page Content-->
        <div id="leftside_container">
    
            <!--Header-->
            <div id="header_container">
    
                <div id="header_title">
                <h1>#header_title</h1>
                </div>
    
                <!--Navbar-->
                <div id="navbar_container"> 
                <div class="navbar_links">
                </div>
                </div>
    
    
            </div>
            <!--Current Page Contents-->
            <div id="currentpage_content">
                <p> #currentpage_content</p>
                <p>"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."</p><p>
                "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."</p>
            </div>
    
        </div>
    
        <!--Right-side Every-page Content-->
        <div id="rightside_container">
            <div id="register_container"><p> #register_container </p></div>
            <div id="contacts_content"><p> #contacts_content</p></div>
        </div>
    
    
    </div>
    </body>
    
    
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im a beginner to css, please can someone help me get this element to
I was just testing few CSS transitions( I am beginner in CSS ). All
Beginner page building question: I've got a simple /div container defined via a CSS
I believe this is a beginner's CSS question. I am utilizing the method described
I am a beginner at HTML and CSS. the text on my page keeps
what's wrong with this code ? i am a beginner <link type=text/css href=/css/custom-theme/jquery-ui-1.8.20.custom.css rel=stylesheet
jQuery beginner here. Here is what I'm working on. I have an area map
I'm a beginner in CSS and already hate it :(. When the user will
Here's my background: Decent experience with PHP/MySql. Beginner's experience with OOP Why I want
I am a beginner in jQuery. It would be great if somebody could help

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.