css - 如何在 Firefox 中使用带有打印预览的 Firebug?

标签 css firefox firebug print-preview

<分区>

Possible Duplicate:
How to see the print media CSS in Firebug?

我正在开发一个带有大量 @import 和链接 CSS 的 Plone 网站,我正在尝试使用 Web Developer Toolbar 仅显示打印 css。

不幸的是,在这个特定的网站上,Web 开发人员工具栏的打印 CSS 的样式比常规的“打印预览”少得多,如果不在新选项卡中再次打开页面就不会重置,而且看起来一般都是坏的。例如,维基百科对相同的“仅查看打印 css”选项的响应更好。

如何将 Firebug 与打印预览式演示一起使用?我能否以更兼容 Web 开发人员工具栏的方式表达不同 CSS 声明的可打印性?

最佳答案

找到这个,女巫可能会帮助你:http://neutroncreations.com/blog/easy-print-css-coding-using-firebug-and-web-developer-toolbar/

... By using Firefox with its two close friends; Firebug and Web Developer Toolbar (you’re all using these daily for front-end engineering anyway, right?), we can make working on a print stylesheet as simple as one for the screen. Observe.

First, open your website in Firefox, then we’ll ask Web Developer Toolbar to render the page using your print rather than screen CSS by choosing CSS → Display CSS By Media Type → Print from the Web Developer Toolbar...

关于css - 如何在 Firefox 中使用带有打印预览的 Firebug?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4090402/

相关文章:

html - 将包含未定义大小的图像的 div 放在另一个 div 的底部

html - 如何将背景图片插入我的网站?

html - Firefox 打印 HTML 页面截断内容

html - Firebug 在外部样式表的开头报告 CSS 语法错误

javascript - 获取元素的事件监听器

javascript - 为什么 createjs DOMElements 不能像所有其他对象一样正确定位在 Canvas 的左上角?

css - HTML - 优先使用 CSS 样式

javascript - Html:如何点击下载链接,而不是右键单击并另存为

javascript - 桌面上的innerWidth 和outerWidth 奇怪

javascript - 使用 Firebug 进行 Angular 调试