问题描述
我一直在尝试在Firefox扩展的工具栏上单击按钮时显示弹出窗口.
我的弹出窗口是一个内部装有iframe的面板,用于显示实际内容.无论我为面板和iframe设置了什么属性,我的内容和弹出窗口的边缘之间总是有一个难看的边界.我尝试更改iframe属性,例如:frameborder,seamless,marginheight,marginwidth等,但这些属性似乎对窗口没有影响.
I have been experimenting with displaying a popup window when a button is clicked on my Firefox extension''s toolbar.
My popup is a panel with an iframe inside it that displays the actual content. No matter what attributes I set to my panel and iframe there is always an ugly border between my content and the edge of the popup window. I have tried changing my iframe attributes like: frameborder, seamless, marginheight, marginwidth etc. but these seem to have no affect on the window.
Does anybody have any ideas on how to remove this border?
推荐答案
这篇关于Firefox扩展:如何在弹出窗口中删除边框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!