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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T16:29:37+00:00 2026-06-15T16:29:37+00:00

I have a twitter/facebook like header, a fixed one and a main content. When

  • 0

I have a twitter/facebook like header, a fixed one and a main content. When I would scroll down to my last line, the content div is overlapping the header. How can I avoid this?

this is the screenshot of my page:
enter image description here

This is the structure of my html:

<body>

<div>
<?php include("initcontrols/header.php"); echo $plHeader;?>   
</div>


<div id="mainform">
<noscript>It seems your browser doesn't support Javascript.<br /></noscript>

<!-- Apply blue theme as default for all tiles -->
<div id="tiles" class="blue">
<!-- Sliding Tile that shows 100% of the back tile every 3 seconds -->
<div class="live-tile" data-stops="100%" data-speed="750" data-delay="3000">
    <span class="tile-title">slide tile (figure 2a)</span>
    <div><img src="images/say.jpg" width="180" height="180" alt="1" /></div>
    <div><img src="images/sayako.jpg" width="180" height="180" alt="2" /></div>
</div>

    <!-- Red Flip Tile that flips every 4 seconds -->
<div class="red live-tile" data-mode="flip" data-delay="4000">
    <div>
        <img src="images/home.png" alt="3" />
        <a class="tile-title">flip tile front (figure 2b)</a>
    </div>
    <div>
        <img src="images/message.png" alt="4" />
        <a class="tile-title">flip tile back (figure 2b)</a>
        </div>
</div>


<script type="text/javascript">
// apply regular slide universally unless .exclude class is applied 
// NOTE: The default options for each liveTile are being pulled from the 'data-' attributes
$(".live-tile, .flip-list").not(".exclude").liveTile();
</script>

</div>

My css:

div#header{
padding-left:15px;
overflow:hidden;
position: fixed;
margin:0px;
top:0px;
left:0px;
display: block;
width: 100%;
height: 90px;
-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
background:#333333;
background: -moz-linear-gradient(center top , #736F6E, #111111) repeat scroll 0 0 transparent;
}
div#header-title{
color: #FFF;
float: left;
display:inline-block;
}
div#header h2{
margin: 0 0 0 3px;
z-index:12;
}
div#header h1{
margin-top:0;
margin-bottom:0;
}

#mainform{
width:960px;
background: #F0F0F0;
border: 1px solid #CCC;
height: 2000px;
margin: 100px auto;

}

and for my live-tile look:
http://pastebin.com/cpBXYVRu
I used a template by http://www.drewgreenwell.com/projects/metrojs#applicationBar:

  • 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-15T16:29:39+00:00Added an answer on June 15, 2026 at 4:29 pm

    You can adjust the z-index of an element to position it behind another. In this instance, you would want to increase the z-index of your fixed header. Read more about z-index here and here.

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

Sidebar

Related Questions

I have seen in some websites like facebook, twitter and youtuBe. Codes are being
I have a Facebook like button/widget, twitter widget, Google+ widget and an anchor tag
I have internet portal, based on WordPress. There is one Facebook Like button (align
I have a website that uses the facebook, twitter, delicious share links. They contain
Lately I have been reading a lot of blog topics about big sites(facebook, twitter,
I have a facebook like button at the bottom of my website. When I
Simple line of code: NSLog(@Checking on Facebook: %d -- Checking on Twitter: %d,[SLComposeViewController isAvailableForServiceType:SLServiceTypeFacebook],
I'd like to use social sharing widgets (e.g. Facebook Like, Twitter Tweet, etc) on
I'm adding social media buttons to my website. Facebook like, Twitter tweet etc buttons
I have a twitter-like feed in my web app. I've tried to optimize the

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.