当我最小化浏览器时,锚标记中的文本会超出div。
<ul style="font-size:18px;">
<li >Goto you <a href="https://www.youstable.com/hosting/web-hosting" >https://www.youstable.com/hosting/web-hosting</a> and select the hosting plan you would like to go with.</li>
<li style="list-style-type:none">
<center><img src="images/hosting.png" class="img-responsive" alt="Paid Hosting"></center>
</li>
</ul>
答案 0 :(得分:0)
添加了属性断字
<ul style="font-size:18px;">
<li >Goto you <a style="word-break: break-all;" href="https://www.youstable.com/hosting/web-hosting" >https://www.youstable.com/hosting/web-hosting</a> and select the hosting plan you would like to go with.</li>
<li style="list-style-type:none">
<center><img src="images/hosting.png" class="img-responsive" alt="Paid Hosting"></center>
</li>
</ul>