MozTW 討論區
https://forum.moztw.org/

如何更改工具欄背景?
https://forum.moztw.org/viewtopic.php?f=2&t=2675
1 頁 (共 1 頁)

發表人:  訪客 [ 2004-07-01, 16:32 ]
文章主題 :  如何更改工具欄背景?

在不用Theme的情況下,可以用自己的圖片儅工具欄的背景嗎?

發表人:  訪客 [ 2004-07-01, 17:52 ]
文章主題 :  Re: 如何更改工具欄背景?

Anonymous 寫:
在不用Theme的情況下,可以用自己的圖片儅工具欄的背景嗎?

可以的 :wink:
參考:
http://texturizer.net/firefox/tips.html ... background
大意是,在 userChrome.css 內寫入
代碼:
/* Use a background image for the toolbars:
   (Substitute your image file for background.gif) */

 menubar, toolbox, toolbar, .tabbrowser-tabs {
   background-image: url("background.gif") !important;
   background-color: none !important;
 }

然後把名為background.gif的圖檔與userChrome.css放在同目錄內。
至於路徑的調整、圖檔的名稱,我假設你懂得自行設定 :wink:
  

1 頁 (共 1 頁) 所有顯示的時間為 UTC + 8 小時
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/