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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T21:51:03+00:00 2026-05-20T21:51:03+00:00

I have a CSS with the following attribute to the body tag and header:

  • 0

I have a CSS with the following attribute to the body tag and header:

body
{
    font-size: 0.87em;
    font-family: Calibri, Arial, Georgia, Verdana, Tahoma, Microsoft Sans Serif;
    margin: 0;
    padding: 0;
}

div#header
{
    width:1024px;
    margin:5px auto;
    height:180px;
    background-color: rgb(91,25,79);
}
div.headerLeft
{
    height:100%;
    width:850px;
    border-right:10px solid rgb(169, 171, 174);
    background-color: rgb(124,71,111);
}
div#footer
{
    margin-top:10px;
    text-align:center;
    position:relative;
    font-size: 1.27em;

}
div#content
{
    margin:auto 40px;
    width:200;
    overflow: auto;
}

In my HTML I have the following structure for the body:

<body>
    <div id="header">
        <div class="headerLeft" />
    </div>
    <div id="waycontact">

        <div class="contactPaula">
            <p>paulaMACHADO</p>
            <p>crea 97877/D-MG</p>
            <p>(31) 8725 5393</p>
        </div>
        <div class="contactBeatriz">
            <p>beatrizDAMAS</p>

            <p>crea 94660/D-MG</p>
            <p>(31) 9216 6968</p>
        </div>
        <div class="address">
            <p>av. álvares cabral, 381, sl. 604, centro - belo horizonte - mg</p>
            <p>cep: 30170-000 - telefax: (31) 3222 0345</p>
            <p><a class="remove-linkcss" href="mailto:amsd_arq@yahoo.com.br">amsd_arq@yahoo.com.br</a></p>

        </div>
    </div>

    <div id="content">

<img class="left space" alt="Arquitetura" src="http://cdn.archdaily.net/wp-content/uploads/2009/05/1265154380_107-silos-090511-west-view-a4-allard-architecture-528x304.jpg" />
<h2>Sobre a empresa</h2>
<p>A AMSD é focada em qualidade..</p>



    </div>

    <div id="footer">

        <a class="current" href="#">home</a>
        <span class="space">|</span>
        <a href="#">quem somos</a>
        <span class="space">|</span>
        <a href="#">blog</a>
        <span class="space">|</span>

        <a href="#">na mídia</a>
        <span class="space">|</span>
        <a href="#">contato</a>
    </div>
</body>

Here you can see the complete code of the page.

In CSS you can completely see it has a class called “.redborder” her March the HTML element with a red border.
Note that the body marked with red.
But the end result I noticed that the body is contemplating only the header. why he will not until the end?

  • 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-05-20T21:51:04+00:00Added an answer on May 20, 2026 at 9:51 pm

    Change:

    <div class="headerLeft" />

    to correct (HTML and “marketing” XHTML):

    <div class="headerLeft"></div>
    

    More information http://www.w3.org/TR/xhtml1/#C_3

    Also add missing </div> (for <div id="header">). After this it should be ok.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have in my CSS: body { font-size: 0.87em; font-family: Calibri, Arial, Georgia, Verdana,
newbie question in css: I have the following style defined: TABLE.tabulardata th { font:
I have the following: <a href=javascript:jQuery('body').css('backgroundColor','red');>Test</a> When run in Chrome, it functions as expected
I have the following code in header.php to echo the body's id: <body id=<?php
I have two CSS rules following each other: .some td:first-child:before { content:url('path/to/image.png') ; }
I have the following css code: #Layer3 { position:absolute; width: 89%; height: 40%; left:
I have the following CSS class: .hidden { visibility: hidden; position: absolute; } I
I have the following css code. button.png is image where 3 button states are
I have the following CSS .ul{ list-style-image:url(/images/bullet.png) } My bullet.png is 20 x 20px
I have the following CSS code .editable:before { content: url(../images/icons/icon1.png); padding-right:5px; } this is

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.