How to position a fixed div under another fixed div?
问题 I am trying to set a fixed div div(menu) directly under another fixed div (header) and the positioning should also work with different screen sizes. I call the "menu" div through JQuery with toggle and it appears under the "header" div. I can do this setting a fixed top value greater than the height of the "header" div but if I do not want the header to have a fixed PX value how do I do this? Any suggestions? html: <div id="header"> <div id="menu"> </div> </div> css: #header{ position:fixed