我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

DOMPDF:br标记导致文本合理

Getting a weird problem with DOMPDF..

Wherever I use content with a br tag in it..

<p>
Something<br/>
Something Else<br/>
Last line
</p>

The rendered output pdf seems to justify the line where the br tag is so it spans across the whole width.

Anyone get that too? Any idea how to prevent it?

I'm on the latest version from the trunk.

uh - thought I'd try that but obviously not.

If i explicitly see the P style to text-align:left that fixes it.

近期文章

  • 当用户在表单框中输入代码时,动态创建链接
  • PHP - curl或simplexml_load_file?
  • Coldfusion Application.cfm就像PHP的文件一样
  • Smarty自定义插件使用基类
  • too long
  • 如何禁用Windows应用程序崩溃报告?
  • 将列表拆分为多个列
  • 自动会话超时
  • too long
  • PHP csv功能,微软安全吗?
  • Wordpress在二十个主题上单独评论和pingback
  • 试图从Google App Engine调用Java代码我遇到错误?
  • 实际输入内容不保留在大多数浏览器[FF,MSIE 7/8等]
  • 需要验证PHP中的表单而不是Javascript吗?
  • 在所有下拉列表的更改事件中,将所有下拉列表中的选定值放入url params中?
  • Eclipse中没有读取PHP文件
  • smarty模板中的两种形式
  • 无法在PHP中检索复杂类别结构下的产品
  • reCAPTCHA(Zend_Service_ReCaptcha)抛出“无法连接到tcp://api-verify.recaptcha.net:80”
  • 处理异常 - 致命错误:未捕获的异常'EppCommandsExceptions',消息'命令语法错误'

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华