如何缩小< p>标签?
问题描述:
我有一个网页,我正在转换为PDF。此页面包含多个段落,它们并不都适合单个页面。如果我可以减少< p>
标签之间的间距,这将有助于适应更多。这可能吗?感谢。
I have a page that I'm converting to PDF. This page contains a number of paragraphs and they don't all fit onto a single page. If I could reduce the spacing between the <p>
tags, this would help fit more. Is this possible? Thanks.
答
使用css:
p { margin:0 }
尝试这个精彩的插件http://www.getfirebug.com :)
Try this wonderful plugin http://www.getfirebug.com :)