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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T00:19:13+00:00 2026-05-31T00:19:13+00:00

All of the margin settings for the content within the main body section of

  • 0

All of the margin settings for the content within the main body section of the homepage of this site I’m working on are not displaying properly and they are overlapping one another. This has been causing me a crap-load of annoyance and I can’t figure out what’s wrong. Please take a look and see if you can help me.

once again, there are 3 sections within the main body and they are all showing up wrong!

Here’s my site:

http://studentweb.eku.edu/alamaldean_alami/d+m/index.html

The first problem is that from the first section (history) to the second (buttons) there is an extra gap of 20px in addition to the margin that I have set, why is there a random gap (firebug and google’s ‘inspect element’ both do not show anything there, just a random extra space).

The second problem is that the ‘button’ section should have a 20px margin between it and the ‘content-area’ section since ‘content-area’ is set to have a margin of 20px.

The final problem is that the bottom margin between the ‘content-area’ section and the footer should be a total of 40px because both of those each have a margin of 20px.

enter image description here

  • 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-31T00:19:14+00:00Added an answer on May 31, 2026 at 12:19 am

    Remove below css from .buttons class line 194 style.css

    position:relative;
    

    Add this css on home.css line 3

    .history {
        background: none repeat scroll 0 0 transparent;
        margin: 20px 20px 0;
        padding: 10px;
    }
    

    Add this on style.css line 108

    .footer {
        padding: 20px 20px 10px;
    }
    

    style.css line 102

    .content-area {
        background: url("..//images/transbackc.png") repeat scroll 0 0 transparent;
        margin: 20px 10px;
        padding: 10px 0;
    }
    

    home.css line 38

    .services div {
        border-right: 1px solid white;
        float: left;
        margin-left: 10px;
        margin-right: 10px;
        min-height: 250px;
        padding: 9px;
        text-align: center;
        width: 400px;
    }
    

    Final output of above css see below image:

    enter image description here

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

Sidebar

Related Questions

(Note, this is not the double-margin bug. I'm calling this the double-vertical-padding bug for
I know when your elements background is not behind all of its content, (eg:
Inside a div, there is a picture that should have 10px margin in all
My all unordered lists are having automatic padding-left of 40px and a margin top
When I apply a negative margin-top of -3px in a parent element, all the
all. We're trying to get some intersect collisions working, but the problem experience is
If I have user-generated content, such as: <p>my paragraph</p> <ul> <li>item1</li> <li>item2</li> </ul> This
I've been setting up a very basic Wordpress site. All of the pages have
The problem is when I try to set height: 20px to all rows this
I have a Magento site using JS (prototype) to display tabbed content on product

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.