That's the basic principle, there's heaps more to do to get positioning right. And if you're targeting IE, .menu:hover won't work, you'll need some javascript onmouseover/onmouseout handlers to simulate this.