overflow: auto hides content at the bottom of the page

Asked

Viewed 57 times

0

I have a problem with my html, I couldn’t find an answer. I have a div called box-footer. This div is inside a div main, where I added overflow: auto and height 100%. All that content is inside a father div, box-notification, that I also added height 100%, but the div box-footer the content is hidden that would be an orange button. I can solve the problem using a "gambs".

<div class="box-main">
    <div class="box-content">
        <div class="box-text">
            <p>teste
                <p>
        </div>
    </div>
    <div class="box-footer">
        <button id="load-notifications" class="button btn">Load more notifications</button>
    </div>
</div>

inserir a descrição da imagem aqui

  • the Boot is to be fixed in the footer?

  • yes, but it is not fixed, it is a div that is at the end of all content, what gets fixed is that div with the text "notification".

  • Can share your used css?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.