KindEditor上传的图片显示在jsp页面上时调整布局
生活随笔
收集整理的這篇文章主要介紹了
KindEditor上传的图片显示在jsp页面上时调整布局
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
場景
使用KindEditor上傳圖片后將富文本的內容存在數據庫中為:
測試<img src="http://*****:9090/test/upload/commentFile/890661af-1e1e-447a-9a13-8f9c0244a98d.jpg"alt=""/>
現在要在jsp頁面中顯示照片
調整前:
<tr style="height: 60px;width:60px"><td style="height:100%;width:100%"<label for="docfile" class="control-label x90">追評原因</label>?????${re.getReason()}??????? ???</td></tr>效果:
?
調整后:
<tr style="height: 400px"><label for="docfile" class="control-label x90">追評原因</label><td style="height: 400px"><div style="height:100%;width:100%;overflow:auto">${re.getReason()}</div></td></tr>效果:
總結
以上是生活随笔為你收集整理的KindEditor上传的图片显示在jsp页面上时调整布局的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: KindEditor中使用val()获取
- 下一篇: IDEA中怎样运行Web项目