Проблема в том, что #one перекрывается с #three.Почему z-index не работает?
#one
#three
z-index
#one { position: relative; top: 35px; z-index: 2; }
<div id="one">one</div> <div>two</div> <div id="three">three</div>
<html> <head> <title>Page Title</title> <style>#one{position:relative; top:35px; z-index: 1;background:white} #three{ z-index:-3; background:white} </style> </head> <body> <div id="one">one</div> <div>two</div> <div id="three">three</div> </body> </html>