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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T20:06:32+00:00 2026-06-07T20:06:32+00:00

I am trying to learn HTML/CSS by trying to make simple website in HTML/CSS.

  • 0

I am trying to learn HTML/CSS by trying to make simple website in HTML/CSS. I have so far build some basic skeleton but there is something I cant solve.

I have a problem where div’s articlelisting, sidebar1, sidebar2 are placed inside a div footer, but I want to div’s articlelisting, sidebar1, sidebar2 be outside footer.

Here is relevant code:
HTML:

        <!-- article listing -->
        <div class="articlelisting">
            articlelisting
        </div>

        <!-- sidebar 1 -->
        <div class="sidebar1">
            sidebar1
        </div>

        <!-- sidebar 2 -->
        <div class="sidebar2">
            sidebar2
        </div>

        <!-- footer -->
        <div class="footer">
            footer
        </div>  

CSS:

.articlelisting {
display: inline;
width: 48%;
float: left;
}

.sidebar1 {
display: inline;
width: 24%;
float: right;
}

.sidebar2 {
display: inline;
margin-right: 15px;
width: 24%;
float: right;
}

 .footer {
width: 100%;
border: solid 1px red;
}

EDIT:
I have placed articlelisting div. Sorry I missed it.

My question is why are divs articlelisting, sidebar1, sidebar2, inside div footer, and how to place them outside div footer?

Thanks

  • 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-07T20:06:34+00:00Added an answer on June 7, 2026 at 8:06 pm

    Hey now clear to your footer as like this

        .footer{
        clear:both;
        overflow:hidden;
           /// and write some properties as required to
        }
    

    Live demo http://tinkerbin.com/9vrEFCqo

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

Sidebar

Related Questions

I am trying to learn and use html5 and have a basic layout but
trying to learn some html/css and I'm having a problem with fixed position divs.
I'm trying to learn some html/css/javascript, so I'm writing myself a teaching project. The
I'm trying to learn CSS/HTML at the moment so sorry if there is a
I'm trying to learn some basic ajax using Django. My simple project is an
I'm trying to learn html and jquery. My issue is that I have box
I have been trying to learn horizontal lists in html. I have the following
I'm a programmer trying to learn some css and I've already run into a
I'm trying to practice some CSS/HTML, and I am listing what should be done
Im trying to learn to build navigation menus using css. Ive stripped loads of

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.