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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T14:23:52+00:00 2026-06-04T14:23:52+00:00

Since i won’t be able to post an image here’s the link to it

  • 0

Since i won’t be able to post an image here’s the link to it

https://i.stack.imgur.com/LxO1e.png

I have this website, the PHP and all other stuff are working. The problem is that when I scroll up to see other stuff below, the elements that get scrolled up goes over the header instead of going under. How do I solve this?

I can’t seem to post the HTML in here, I tried the indent four spaces thing but it doesn’t work with HTML stuff so instead here is the site: pageboost.comze.com

Here’s the css for the main that is going over instead of under

.inmain
{
width:95%;
height:100%;
left:20px;
top:42px;
position:relative;
}

and here’s the css for the header

.header
{
background-color:#ffd800;
width:100%;
height:42px;
position:fixed;
left:0px;
top:0px;
-webkit-box-shadow: 0 5px 6px -6px black;
-moz-box-shadow: 0 5px 6px -6px black;
}
  • 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-04T14:23:54+00:00Added an answer on June 4, 2026 at 2:23 pm

    just define z-index value into your Header class or Id where you have defined the position.
    It happens so when you will give the z-index value i hope that will work smoothly…..

    UPDATED ANSWER

    I have given the z-index value in header class its working fine now please check it…..

    HTML

    <div class="header"></div>
    <div class="inmain">afdadfasf</div>
    

    CSS

    .header
    {
    background-color:#ffd800;
    width:100%;
    height:42px;
    position:fixed;
    left:0px;
    top:0px;
    -webkit-box-shadow: 0 5px 6px -6px black;
    -moz-box-shadow: 0 5px 6px -6px black;
        z-index:1;
    }
    
    .inmain
    {
    width:95%;
    height:100%;
    left:20px;
    top:35px;
    position:relative;
    }
    

    for better understanding see the live demo:- http://jsfiddle.net/X8vpg/6/

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

Sidebar

Related Questions

I have the following code here that won't run on ARC since it combines
I have to make dynamic hashes, so the class example won't work since the
since IE won't render XHTML as XHTML, but treat it as HTML instead, when
I'm wondering what's people using to correctly capitalize english strings since ''capitalize'' won't do
I'm pulling in xml using the cocoa NSXmlParser. Since this process most likely won't
Since version 1.5 Subversion supports to have a local caching-proxy for the main Master-repository.
Since Eclipse 3.5 there seems to be no option to have drop a plugin
I have a table with 1 column textField. Our version of mysql won't allow
Since FixedSys won't display in Chrome or Safari I make it switch to Lucida
Since Twitter won't use basic authentication (login, password) anymore, I'm converting my app to

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.