/ Published in: CSS

[via rtcrm]
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
.minHeight { min-height: 200px; height: auto !important; height: 200px; } .minWidth { min-width: 200px; width: auto !important; width: 200px; } .maxHeight { max-height: 700px; height: auto !important; height: expression( document.body.clientHeight > 700 ? "700px" : "auto" ); } .maxWidth { max-width: 700px; width: auto !important; width: expression( document.body.clientWidth > 700 ? "700px" : "auto" ); }
Comments
