用div来模拟textarea的实现 <style> div{ width: 400px; min-height: 100px; max-height: 300px; _height: 100px; //IE6 margin-left: auto