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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T13:38:40+00:00 2026-05-31T13:38:40+00:00

I have basic knowledge of javascript and jquery . I want to implement design

  • 0

I have basic knowledge of javascript and jquery . I want to implement design like Sevenly which is like a page/div is move over another but I don’t know how to start with that . Let me know if anyone has as idea on how to implement this ?

  • 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-31T13:38:41+00:00Added an answer on May 31, 2026 at 1:38 pm

    If the first container has a specific height, then I think the most straight forward solution would be to fix the first container (position:fixed). Then you add a margin-top to the rest to push the rest down so it starts just below the first container:

    HTML:

    <div id="header">Header</div>
    <div id="rest">
        <div>Other 1</div>
        <div>Other 2</div>
        <div>Other 3</div>
    </div>
    

    CSS:

    div#header{ 
        position:absolute;
        position:fixed;
        width: 100%;
        height:150px;
        border: 2px dashed yellow; 
        background-color: lightyellow; 
    }
    div#rest{
        margin-top:150px;
        position:relative;
    }  
    div#rest div{    
        height: 300px;
        border: 2px dashed green;
        background-color: lightgreen;
    } 
    

    The position:absolute; is for browsers that don’t support fixed. Making it absolute will causes it to behave like fixed, except that it scrolls along with the rest of the page. The position:relative; on the rest is because of z-stacking. fixed-ing the header container causes it to be put in it’s own layer on top of everything else; setting the rest to relative puts the rest on top of the header again.

    See jsfiddle demo here.

    If you don’t have a specific height on the header, then you will probably need to use javascript.

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

Sidebar

Related Questions

I only have very basic knowledge on Javascript and I want to be able
What are containers/adapters? I have basic knowledge of C++ and its sub-topics like (class/templates/STL).
I have a very basic knowledge regarding XML. But now I want to dig
I have only a basic knowledge of css, is it possible to inherit a
I have a very basic knowledge of the web programming, and I couldn't figure
I have some knowledge about Human computer interaction and some basic knowledge programming scripts
My knowledge of xml and php is somewhat basic but have been able to
I have very little programming knowledge; only a fair bit in Visual Basic. How
Currently, i have basic C++ and PHP skills. But, i want to switch to
I have only the most basic knowledge of web scripting, but i'm trying 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.