Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

How to get the 'x' close button by hovering over unselected tabs.

  • 6 trả lời
  • 1 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi Rose1

more options

How to remove the red x hovering over the close buttons. I want it plain x

How to remove the red x hovering over the close buttons. I want it plain x

Tất cả các câu trả lời (6)

more options

Hello,

In order to better assist you with your issue please provide us with a screenshot. If you need help to create a screenshot, please see How do I create a screenshot of my problem?

Once you've done this, attach the saved screenshot file to your forum post by clicking the Browse... button below the Post your reply box. This will help us to visualize the problem.

Thank you!

more options

I want a plain x without a highlight no color.

more options

My screenshot doesn't work. That's weird. I click on browse then click reply. I don't know why.

more options
more options

The close button comes from this SVG image:

  • chrome://global/skin/icons/close.svg
  • chrome://global/skin/global.css

Add code to the userChrome.css file below the default @namespace line.


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

.close-icon:hover {
 background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 16, 16, 0) !important;
 background-color: #ccc !important;
}

You can set the background color to a color of your choice to see at least a hover effect that the button is active.


The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.

  • Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
more options

Can't I remove the hover affect at all? The older versions didn't have that.