position:fixed定位是相对视口宽度,即使在里面嵌套一层div,其定位也是display:fixed,在对其的宽度定位为20%时,也是相对于整个视口,而不是相对于父级元素
待研究:怎样让dispaly:fixed的定位是相对于父级,而不是整个视口
.ScreeningConditions {
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
z-index: 3;
}
.ScreeningConditionsLeft {
width: 20%;
height: 100%;
background-color: black;
filter: alpha(opacity=50);
-moz-opacity: 0.5;
-khtml-opacity: 0.5;
opacity: 0.5;
}
.ScreeningConditionsRight {
width:80%;
height:100%;
background-color:white;
position:relative;
}
.ScreeningConditionsFoot {
width:100%;
text-