Posts

Showing posts from April 14, 2019

Setting page height to Scroll - when outer div to hidden - inner div to scroll

Image
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box; } 0 I have a div, which contains tab pane's. The first tab pane contains two inner div's. The first inner div has a search text box, which I want to retain in a fixed position, while I want the second inner div to have the scroll enabled. A workable code is as follows: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <!-- View meta tag --> <meta name="viewport" content="width=device-width, initial-scale=1"> <title></title> <script src="https://code.jquery.com/jquery-3.1.0.js"></scr