首页 | 最近更改 | 编辑本页 | 较早版本

可打印版 | 免责声明

Not logged in
登录 | 帮助
 

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).

取自"http://wiki.mozcn.org/index.php/Firefox:%E7%A7%BB%E5%8A%A8%E6%A0%87%E7%AD%BE%E6%A0%8F"

本页面已经被浏览4649次。 最后更改13:02 2005年12月8日. 本站内容在创作共用署名-非商业用途-保持一致条款下发布。


[首页]
首页
最近更改
随机页面
新闻动态

编辑本页
讨论本页
较早版本
链入页面
链出更改

特殊页面
错误报告