两种方法:
①
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap;white-space: -o-pre-wrap; word-wrap: break-word;"><s:property value="work_expr" default="无" /></pre>
②
pre{ width:521px; overflow: auto; overflow-y:hidden}