img{
width:expression(this.width/this.height > 126/96 ? 126 : (this.width*96/this.height));
height:expression(this.width/this.height > 126/96 ? (this.width*126/this.height) : 96);
max-height:96px;
max-width:126px;
}
posted on 2009-06-29 16:07
kelven 阅读(655)
评论(1) 编辑 收藏 所属分类:
HTML