That’s because you’re adding position:absolute;
à div
main listing (#source
), when this is not necessary to be implemented.
As you’re already adding position:fixed;
at the #top-bar
and to the .large-contact-sheet
, which are the two upper and lower navigation bars, you avoid adding position:absolute;
at the #source
which is the main content as this property is not required and is not doing anything there, along with other properties that have been added because of this property.
Cleaning up unnecessary styles implemented in #source
, here’s how the code will look:
#source {
margin-bottom: 50px;
/* Ou padding-bottom: 50px; se preferires */
}
All you’re gonna need is this property on #source
which is to compensate for the size height
applied to the class .large-contact-sheet
that is of height:50px;
.
Since we are going on the wave I also suggest you remove other properties from the class .large-contact-sheet
which are unnecessary, in particular overflows
, because this is the reason the unwanted scroll bars are there to appear at the bottom of the page.
With unnecessary code removed it will look like this:
.large-contact-sheet {
height: 50px;
width: 100%;
background-color: #900;
text-align: center;
white-space: nowrap;
display: block;
position: fixed;
z-index: 5;
bottom: 0;
}
Ask a question where the problem can be reproduced. http://answall.com/help/how-to-ask
– Renan Gomes