0
点赞
收藏
分享

微信扫一扫

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>

效果:

KindEditor上传的图片显示在jsp页面上时调整布局_jsp

 

调整后:

<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页面上时调整布局_jsp页面_02

举报

相关推荐

0 条评论