z-index not working with fixed positioning
Add position: relative to #over as shown in this snippet: #over { width: 600px; z-index: 10; position: relative; } #under { position: fixed; top: 14px; width: 415px; left: 53px; border: 1px solid; height: 10%; background: #f0f; z-index: 1; } <!DOCTYPE html> <html> <body> <div id=”over”><P>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod … Read more