z-index


When setting the z-index you may not get the behaviour that you expected. In order for the z-index to work, you also have to set the position attribute. I discovered this when redeveloping our company website. The z-index would not work. I then set the position attribute to relative, and hey presto! It worked.

Advertisements