R
R
rockerok_n2018-05-17 17:46:40
css
rockerok_n, 2018-05-17 17:46:40

How to add auto scrollbar for one div in firefox if body overflow is hidden?

At the body tag {overflow: hidden;} at the desired div {overflow: auto;} when increasing the size of the content inside this div, most browsers automatically add a scrollbar for this div, but firefox does not. How to make a fox so that the scrollbar inside this div is added only when the content inside it increases?
Example https://jsfiddle.net/eazt091m/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stalker_RED, 2018-05-17
@Stalker_RED

overflow: scroll and height: 100%

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question