1.設置文本域無邊框,無右邊滾動條,且高度和寬度自適應
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="Generator" content="EditPlus®">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<title>Document</title>
</head>
<body>
<textarea name= "textarea " cols= "100 " rows= "4 " style= "border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top: 0px solid;overflow-y:hidden;overflow-x:hidden;border:0 ">
尊敬的用戶您好!
以下預警請及時處理
124
</textarea>
</body>
</html>