Im showing an error message (with an absolutely positioned div) and i want to shade the HTML behind it to prevent the user from clicking on anything. Similar to the behavior of a modal window. Im able to create the transparent div, but i cant set the height and width properly in CSS to always be 100%. The problem is: when I increase the size of the browser window, the shaded div doesnt stretch. Any ideas?