D
D
Discout2014-08-19 12:18:47
css
Discout, 2014-08-19 12:18:47

CSS: Why is the footer not attached to the bottom?

You need to make a footer at the bottom of the page. Without the album cover slider, everything works as it should, but with it, the footer "floats", covering some of the content of the slider. I guess it's because of the inline blocks that the pictures hold. But why does it matter if these blocks are wrapped in a regular div?
You can view the page here: mycodetest.hol.es/example1.html
7795164d5ce04f22a34c33dcd3c8f50f.png
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Andrey Golumenov, 2014-08-19
@Discout

Your footer has position: absolute and bottom: 0
The footer lies inside a block with the "latest-work-fix" class, so it is positioned absolutely relative to this block.
Try giving the footer bottom: -100px;

V
Vitaly Kirenkov, 2014-08-19
@DeLaVega

You have a problem in the sequence of divs. Simply tear off the FireBug and see that your footer is inside the block with the latest works, but it should, as I understand it, next to #wrap

D
Discout, 2014-08-19
@Discout

#wrap is a wrapper for all content. The slider is wrapped in: <div class="container-fluid latest-work">
ps Yes, indeed, I had an extra div, thanks for noticing. But he did not affect anything, alas, so everything is still the same.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question