.postbody IMG{ max-width: 85%; height: expression(this.height > 100 ? "100px" : true); width: expression(this.width > 100 ? "100px" : true); }