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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T18:57:55+00:00 2026-06-11T18:57:55+00:00

I have many divs in my css file. Now I have a proper layout

  • 0

I have many divs in my css file. Now I have a proper layout showing in my html page but there is a serious problem which is: if I am displaying information in the center div, it only shows part of it while the other information is covered by the header.

That means center div is not starting after header, but rather with header hence data is displayed behind the header. Behind is the code for both of them.

#header{ 
/*background-color: #3B5998;*/
 background-image:-moz-linear-gradient(center bottom , #ebebeb, #999999);
    background: #F6F6F6 -webkit-gradient(linear, 0% 0%, 0% 100%, from(#999999), to(#ebebeb));  
height:60px;
position:fixed;
left:0;
width:100%;
}



#center { 
margin-right:200px;
background-color:white; 
min-height:700px; /* for modern browsers */
height:auto !important; /* for modern browsers */
height:700px; /* for IE5.x and IE6 */
color:black;

}

Is there anything missing here that would lead to this problem? An image is attached to this post showing how only the image showing and not text above it. if I add 3
it shows the text. 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-06-11T18:57:56+00:00Added an answer on June 11, 2026 at 6:57 pm

    Add margin-top: 60px; to the center div.

    #center { 
    margin-right:200px;
    margin-top: 60px;
    background-color:white; 
    min-height:700px; /* for modern browsers */
    height:auto !important; /* for modern browsers */
    height:700px; /* for IE5.x and IE6 */
    color:black;
    
    }
    

    Because your header is position: fixed; it has been taken out of the document flow, therefore any elements will appear under it, unless given the instruction to move down.

    The trick is to have the margin-top the same height as the header element.

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

Sidebar

Related Questions

so i have 4 divs (i actually have many more but this will simplify
I have many divs on a page that the height and width are altered
I have a web page which has many divs (listed like table rows), and
Sorry to have to ask this since there are many CSS 100% height questions
I want to append a div inside a div which have many divs inside
I have two columns, each with many rows/divs. I'm trying to get jQuery UI
i think the title is pretty self explanatory. I have many divs generated from
I have an HTML table in my page that I'm trying to replace with
I have a page with many elements that have the same class attached to
I have a UI problem with some CSS that I was hoping to get

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.