.modalBackground { background-color:Gray; filter:alpha(opacity=70); opacity:0.7; }
filter is not a known css property name
opacity is not a known css property name
I get these 2 errors any1 know what to do ?
If you want the page around the modal window to be darkened using this semi-transparent div, you need to keep these two non-standard properties there (filter for IE and opacity for the other browsers). Otherwise it will be opaque and the page content will be hidden.