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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T15:02:21+00:00 2026-06-09T15:02:21+00:00

I have a fixed navbar using curved ribbon images that have transparent bits above

  • 0

I have a fixed navbar using curved ribbon images that have transparent bits above and below the actual ribbon and I have a scaling full size background (so I can’t make a navbar with a matching background at the top). I would like the page content to disappear behind the ribbon, halfway through the navbar as the user is scrolling.

It’s the same problem as these two questions and the answers (which are good) aren’t working for me.

Hide scrollable content behind transparent fixed position divs when scrolling the page?

Hide Scrolling Content Under Transparent Header

This is what I don’t want:

http://imageshack.us/photo/my-images/213/badnr.jpg/

This is kind of what I want but without the scrollbars:

http://imageshack.us/photo/my-images/534/scrolled.jpg/

Thanks in advance for any help, it’s greatly appreciated, this site has and will continue to teach me a lot.

  • 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-09T15:02:22+00:00Added an answer on June 9, 2026 at 3:02 pm

    The css z-index attribute should do the trick to place any element in front of or behind another element. Like so:

    <style type="text/css">
     body, html {
    margin:0 auto;
    padding:0;
    font-family:Verdana, Geneva, sans-serif;
    font-size:12px;
     }
    /* Header Styling */
     #header {
    color:#FFF;
    background: url(/images/header-back.png) repeat-x;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:50px;
    z-index:1;
      }
    
    #headerWrap {
    width:1024px;
    margin:0 auto;
    height:50px;
    }
    /* Sub Header */
    #subHeader {
    position:fixed;
    top:50px;
    margin:0 auto;
    z-index:1;
     }
     #subHeaderWrap {
    height:30px;
    width:830px;
    border-bottom:thin solid #333;
    background: url(../images/subheader.png) repeat-x;
      }
      /* Contaier */
      #container {
    margin:0 auto;
    width:1024px;   
    min-height:600px;
       }
       #containerWrap {
    margin-top:50px;
    
       }
    
       /* Menu */
      #sidebar {
    float:left;
    width:140px;
    min-height:600px;
      }
      #content {
    border-left:#333333 solid thin;
    border-right:#333333 solid thin;
    border-bottom:#333333 solid thin;
    float:left;
    width:830px;
    min-height:600px;
    padding-top:30px;
    margin-bottom:10px;
      }
     #contentWrap {
    width:830px;
    margin:0 auto;
    padding-bottom:10px;
     }
     </style>
    <div id="container">
    <div id="header" style="z-index:1;"/* Places div on top */">
    This is transparent.
    </div>
    
    <div id="containerWrap">
        <div id="sidebar">
    Menu Items Here
        </div>
    
    <div id="content">
        <div id="contentWrap">
    
    <div id="subHeader" style="z-index:1;"/* Places div on top */">
    <div id="subHeaderWrap">
    This div is transparent too, but is now on top.
    </div>
    </div>
    
    Anything here is scrollable and will scroll under the divs above with z-index:1;
    
    
        </div>
    </div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using twitter bootstrap and have a fixed nav bar. The navbar has
UPDATE - I have fixed some mistakes in the code below and the images
I have created bottom fixed tabs using jquery mobile data-role=navbar inside a JQ footer.
I have a list of thumbnails. They have fixed size. I would like that
I want to have a fixed-width TextBlock that has long, unbroken, horizontal text, and
So now (Jan 2012) that true fixed toolbars have been implemented in jQuery Mobile
I want an array of all elements that have fixed position. This is what
I have the following jQuery Mobile HTML code, the navbar's content is set using
I have following code in the html file: <div class=navbar navbar-fixed-top> <div class=navbar-inner> <div
I wonder If it is possible to have fixed number of buttons that is

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.