这是示例: http: //jsbin.com/ecuCAME/1/edit ?html,css,output
HTML:
<div>
<a href='#'>texttexttexttexttexttexttexttexttexttexttexttexttexttexttext</a>
</div>
CSS:
div {
width: 200px;
border: 1px dashed black;
}
div a {
word-wrap: break-word;
display:inline-block;
}
如何包装锚并保留display: inline-block
其风格的财产?