Site postion: fixed; widht: 100%; floating ( postion: fixed; widht: 100%; ). When you come from the phone and open any submenu, the list falls below the screen.

Delivered height: 100% and overflow: auto; But now Header border-bottom has fallen to the bottom of the screen. How to fix?

  • who put the height: 100% and why not max-height? - xAqweRx
  • try adding top: 0; left: 0; top: 0; left: 0; - lexxl
  • @xAqweRx, height: 100% set to the header block, so that when you open the menu, it scrolls up and down - Constantine
  • It is better to add css code && html here. because, as it is now a fortune telling on the tea leaves +, it would not be bad to indicate which phone it is on. Or at all? - xAqweRx
  • @xAqweRx, thanks, I tried to specify max-height, now the underscore with the header and scrolling works fine) - Konstantin

1 answer 1

Install the following block:

  top: 0; left: 0;