Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS how to Get window Object in CSS Reply To: how to Get window Object in CSS

#149144
jim201
Participant

I am trying to make web Application Compatible with IE 10 and Chrome
now i found some Classes in CSS file that Use expressions such as
.modalDialogDiv{
filter:alpha(opacity=55);
opacity:0.55;
background-color:transparent/#333333;
align:center;
z-index:1;
vertical-align:middle;
height : expression(document.documentElement.scrollHeight);
width : expression(document.documentElement.scrollWidth);
z-index: 1;
left: 0px;
top: 0px;
position:absolute;
}

this class for example is used to Display a Transparent Div all over the page after user Save and Display some info in the Meddle of the Div

i am trying not keep changes to CSS and avoid altering Code as much as i can

thanks