为了账号安全,请及时绑定邮箱和手机立即绑定

请教display:table,word-break:break-all,word-wrap:break-word,如下图和代码

请教display:table,word-break:break-all,word-wrap:break-word,如下图和代码

PHP
POPMUISE 2019-03-18 15:35:54
##问题如下我在一个网站上弄了点数据,但是样式显示有点问题,但是对display:table不熟悉,如下图中红色框的,1/4显示问题对应链接http://www.xuekubao.com/tiku/... 复制过来默认的展示效果 我是想展示成和图1一样的效果 html <span class="MathJye" mathtag="math" style="whiteSpace:nowrap;wordSpacing:normal;wordWrap:normal"> <table cellpadding="-1" cellspacing="-1" style="margin-right:1px"> <tr> <td style="border-bottom:1px solid black">5</td> </tr> <tr> <td>7</td> </tr> </table> </span>吨可以看作1吨的 <span class="MathJye" mathtag="math" style="whiteSpace:nowrap;wordSpacing:normal;wordWrap:normal"> <table cellpadding="-1" cellspacing="-1" style="margin-right:1px"> <tr> <td style="border-bottom:1px solid black">5</td> </tr> <tr> <td>7</td> </tr> </table> </span>,也可以看作5吨的 <span class="MathJye" mathtag="math" style="whiteSpace:nowrap;wordSpacing:normal;wordWrap:normal"> <table cellpadding="-1" cellspacing="-1" style="margin-right:1px"> <tr> <td style="border-bottom:1px solid black">1</td> </tr> <tr> <td>7</td> </tr> </table> </span>
查看完整描述

1 回答

  • 1 回答
  • 0 关注
  • 585 浏览

添加回答

举报

0/150
提交
取消
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号