Firefox:移动标签栏
Mozilla中文Wiki
您的位置: 首页 → userChrome.css专题 → 移动标签栏
参考http://kb.mozillazine.org/index.php/Move_the_tabbar_%28Firefox%29
在userChrome.css中添加相应代码:
[编辑]
移动到底部
- /* Display the tabbar at the bottom */
- #content > tabbox {-moz-box-direction: reverse;}
[编辑]
移动到左侧/右侧
- /* Display the tabbar on the left */
- #content > tabbox { -moz-box-orient: horizontal;}
- .tabbrowser-strip {
- -moz-box-orient: vertical;
- /* note: you can set this to -moz-scrollbars-vertical instead,
- but then the scrollbar will *always* be visible. this way
- there is never a scrollbar, so it behaves like the tab bar
- normally does */
- overflow: -moz-scrollbars-none;
- }
- .tabbrowser-tabs {
- -moz-box-orient: horizontal;
- min-width: 10ex; /* you may want to increase this value */
- -mox-box-pack: start;
- -moz-box-align: start;
- }
- .tabbrowser-tabs > hbox {
- -moz-box-orient: vertical;
- -moz-box-align: stretch;
- -moz-box-pack: start;
- }
- .tabbrowser-tabs > hbox > tab {
- -moz-box-align: start;
- -moz-box-orient: horizontal;
- }
- /* remove the close-tab button */
- .tabbrowser-tabs > stack { display: none;}
[编辑]
如果你想移动到右侧,则加入如下代码
- /* Instead, display the tabbar on the right */
- #content > tabbox {-moz-box-direction: reverse;}
取材于 clav (http://forums.mozillazine.org/viewtopic.php?p=238798#238798).
![[首页]](/stylesheets/images/wiki.png)