search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

css file for calendar

Asked by buzzy
11 years ago.

.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 ?

Answer posted by Dan Letecky
11 years ago.

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.

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.