.min_width{min-width:300px;

_width:expression_r(document.body.clientWidth < 300 ? "300px" : "auto");
}


.max_width{
max-width:600px;

_width:expression_r(document.body.clientWidth > 600 ? "600px" : "auto");
}


.min_height{
min-height:200px;

_height:expression_r(this.scrollHeight < 200 ? "200px" : "auto");
}


.max_height{
max-height:400px;

_height:expression_r(this.scrollHeight > 400 ? "400px" : "auto");
}


.min_and_max_width{
min-width:300px;
max-width:600px;

_width: expression_r(
document.body.clientWidth < 300 ? "300px" :
( document.body.clientWidth > 600 ? "600px" : "auto")
);
}


.min_and_max_height{
min-height:200px;
max-height:400px;

_height: expression_r(
this.scrollHeight < 200 ? "200px" :
( this.scrollHeight > 400 ? "400px" : "auto")
);
}

相关文章:

  • 2021-09-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-08
  • 2021-06-03
  • 2021-08-09
  • 2021-11-08
猜你喜欢
  • 2022-01-27
  • 2021-08-21
  • 2022-12-23
  • 2022-02-10
  • 2022-12-23
  • 2021-06-10
相关资源
相似解决方案