English 中文(简体)
firefox调整窗口角大小的CSS选择器
原标题:CSS selector for firefox resize window corner

I want to use CSS to make a userstyle for stylish that would change the appearance of the "resize window corner" element. I don t know which selector to use. scrollcorner works only if there are both vertical and horizontal scrollbars present. Some example screenshots:

只有水平滚动条-调整大小角是白色的

只有垂直滚动条-调整大小角是白色的

两个滚动条都存在-使用CSS代码正确设置了调整大小角的样式:

scrollcorner{-moz-appearance: none !important;  background: red !important;}
问题回答

我们在这里谈论的是隐式创建的元素框架,这使得调查变得复杂——它们不存在于DOM中,所以即使是DOM检查器也不会显示它们。但是,您要查找的元素显然是axul:resizer元素。我认为,如果只有一个滚动条(也是隐式创建的元素框架)存在,那么这个元素将是这个滚动条的子元素。在有两个滚动条的情况下,会创建一个scrollcorner

browser resizer
{
  ...
}

这个只会设置属于浏览器元素的大小调整器的样式,而不会设置任何其他大小调整器,如文本区域大小调整器。

警告:我想您正在注册一个新的代理样式表,因为其他样式表(例如用户样式表)将不适用于隐式节点。你应该小心,这是明确的不安全,此处的意外样式可能会导致浏览器崩溃(请参阅bug 541506是此类问题的一个示例)。





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

jQuery block moving

I wanna move a div block to the top, so I coded like this: CSS part: .movingPart{ margin-top:80px; } jQuery part: $(document).ready(function() { $( #btn ).click(function() { $( .movingPart )....

Private FireFox plugin

I m looking at getting a FireFox plugin developed - but is it possible to create a plugin that is for private use only, so only those I share it with have it and not open to the masses? Need this for ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Cross-browser development

I m developing a web application for a new service, starting from Firefox 3.5. The interface design is tableless, only using divs + CSS & performance-blessed practices. Now, while being ...

Cross browser way of setting IFrame to "about:blank"?

Does anybody know a proper, cross-browser way to "empty" an IFrame? Is "about:blank" recognized without error across all browsers? Is it valid to give an IFrame an empty src?