Tuesday, January 10, 2012

Easy way to automatically resize large images

div.banner img {
max-width: 500px;
width: expression(this.width > 500 ? 500: true);
}

No comments:

Post a Comment