
<pre > I have a problem with the text-align "justify" insIDe a paragraph with format and fixed wIDth,because I want the paragraph text in HTML to appear totally justifIEd (like it would happen with a MS Word file). However,this does not happen. What I need to modify to achIEve it? </pre>
编辑:如果我替换< pre>标记为< p>标签,我的代码工作正常.有人可以解释一下为什么吗?也许我错误地使用了< pre>标签.
解决方法 为了证明< pre>中文本的合理性你需要添加空格:正常;在你的风格,但在我看来这使用< pre>错过了重点.标签.– 编辑 –
而不是< pre>标签你可以使用< div>适当的风格.它可以模仿< pre>标签非常好,更容易玩.
总结以上是内存溢出为你收集整理的HTML证明text-align with tag全部内容,希望文章能够帮你解决HTML证明text-align with tag所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)