為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

#urlbar { visibility: collapse !important; }

  • 2 回覆
  • 1 有這個問題
  • 12 次檢視
  • 最近回覆由 Yaron

more options

How do I set ‘#urlbar { visibility: collapse !important; }’ when ‘.searchbar-textbox[focused]’?

Thank you.

How do I set ‘#urlbar { visibility: collapse !important; }’ when ‘.searchbar-textbox[focused]’? Thank you.

所有回覆 (2)

more options

Hmmm, it seems you want to hide the urlbar when you click in the search box. Would this have the effect of allocating more space to the search box? I don't know how to do that with CSS alone. The two bars do not have a parent/child relationship and are not adjacent neighbors (the stop and reload buttons are in between). Perhaps someone with a more advanced understanding of CSS selectors can think of a way.

I see you posted this question on userstyles.org as well (Firefox Search Bar Tweaks - forum.userstyles.org). That might be a good place to get an answer because it attracts advanced tweakers.

由 jscher2000 - Support Volunteer 於 修改

more options

You have a sharp eye, and your observations are correct. :)

Thank you.