Now try to click on "Show front layer" button or the text box. It is not active.

Use position: absolute to get the one div on top of another div.

The bg_mask div is between baselayer and front layer.

In bg_mask, img_dot_white.jpg(1 pixel in width and height) is used as background image to avoid IE browser transparency issue;