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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T07:40:01+00:00 2026-06-14T07:40:01+00:00

Context: This is the output html of a wordpress theme I’m working on. Everything

  • 0

Context: This is the output html of a wordpress theme I’m working on.

Everything seemed fine with the layout until I inspected the <div id="foot">(footer), I realized it’s height is the whole page, I was expecting it to be just the size of it’s content.

See it here (code).

Trying to debug the issue, I came upon the realization that if I removed the content of the div or removed the div, it breakes the rest of the desing, why is that?

See it here (code).

I was expecting the footer (<div id="foot">) to be the height of it’s content, this seems to work fine if I add another div after the #foot:

See it here (code).

I’m not sure why removing #foot messes the other content and I’m not sure why #foot is being rendered with a height (to the top of the page).

  • 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-14T07:40:02+00:00Added an answer on June 14, 2026 at 7:40 am

    I understand your question now. You have a float, but the foot div doesn’t clear it.

    You need to add…

    clear: both;
    

    …or…

    clear: left;
    

    …to the #foot CSS to clear that left float above it. Otherwise the content will wrap around your footer.

    Here’s an update to your jsFiddle, showing the foot in proper position.

    Side note, I believe you haven’t closed all your div elements.

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

Sidebar

Related Questions

I am parsing an html content and have output on my screen. This website
Context This is purely for education purposes. I want to write a primitive database.
From this context: import itertools lines = itertools.cycle(open('filename')) I'm wondering how I can implement
Some context for this code, what I am trying to do is create a
For context - read this . Problem: class Program { static void Main() {
Being spotted in context of this question this seemingly inconsistent behavior can be reproduced
This code doesn't work: return this.Context.StockTakeFacts.Select(stf => ((stf.StockTakeId == stocktakeid) && (stf.FactKindId == ((int)kind)))).ToList<IStockTakeFact>();
Can I pass value to Navigation Context like this: NavigationContext.QueryString[param1] = PARAM1; Is it
Is it bad practice to concatenate objects when used in this context: $this->template->head .=
I'm drawing simple text in HTML5 canvas using this: context.fillStyle = #FF0000 context.font =

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.