Version 0.5.7 — May 17, 2008 — 166 KB
-Added Ukrainian locale
-Fixed update bug when viewing styles on userstyles.org
Stylish Editor Window Font Family&Size
** Style coded by gzusphish 1/19/07<><
** Based on After Hours Stylin****Coded by Kid_ReeFer
** Liked the green coloring better than the blue in the original. Easier To Read
** Terminal look didn't match the overall effect of the After Hours theme so I decided
** to make a new style instead of submitting a fix.
** Thx to Kid_ReeFer for the idea.
*/
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
#code,#description>.textbox-input-box {
font-family: Verdana, sans-serif !important;
font-size: 11px !important;
}
Center a table with CSS
<table align="center" >
...
</table >
The "align" attribute has been deprecated, however, in favor of CSS (Cascading Style Sheets), and this is a good thing. However, it's not so obvious
how to center a table using CSS.
The obvious way might appear to use the CSS "text-align: center;" somewhere, maybe like one of these:
<table style="text-align:center;" >
OR
<div style="text-align:center;" >
<table >
...
</table >
</div >
OR, if you get really desperate,
<body style="text-align:center;" >
<table >
...
</table >
</body >
None of these will work. The table itself will be left-aligned, but all the content in the table cells will be centered.
Why? Because "text-align" applies to inline content, not to a block-level element like "table".
Method 1
To center a table, you need to set the margins, like this:
table.center {margin-left:auto; margin-right:auto;}
And then do this:
<table class="center" >
...
</table >
At this point, Mozilla and Opera will center your table. Internet Explorer 5.5 and up, however, needs you to add this to your CSS as well:
body {text-align:center;}
Method 2
If you want your table to be a certain percentage width, you can do this:
table#table1 {width:70%; margin-left:15%; margin-right:15%;}
And then in your HTML/XHTML, you would do this:
<table id="table1" >
...
</table >
Note that I was using an id to describe the table. You can only use an id once on a page. If you had many tables on a page that you wanted to be
the same width and centered, you would do this in your CSS:
table.center {width:70%; margin-left:15%; margin-right:15%;}
And this in your HTML:
<table class="center" >
...
</table >
<table class="center" >
...
</table >
Method 3
If you want your table to be of fixed width, define your CSS like this:
div.container {width:98%; margin:1%;}
table#table1 {text-align:center; margin-left:auto; margin-right:auto; width:100px;}
tr,td {text-align:left;}
Set "width:100px" to whatever width you need.
"text-align: center" is there for Internet Explorer, which won't work without it. Unfortunately, "text-align: center" will center all the text inside your
table cells, but we counter that by setting "tr" and "td" to align left.
In your HTML, you would then do this:
<div class="container" >
<table id="table1" >
...
</table >
</div >
Once again, I'm using an id. If you need to center several tables the same way, use a class instead of an id.
資料來源:Center a table with CSS :: Scott Granneman
聯合新聞網@960515+960601+960605+960607
@-moz-document url("http://udn.com/NEWS/main.html") {
.mbg3,.mbg4,.mbg4_sub,#ad125_450,#ad120_350,#ad_sash,#tabbg,#tabbg2,#tabbg3,#tabbg4,#tabnav2,#tabnav3,#tabnav4,#tabnav_arrow2 ,#tabnav_arrow3,#tabnav_arrow4,#footer {display: none !important;}
#warp {height: 550px !important;}
#main_content {height: 440px !important;}
#index {height: 440px !important;}
}
@-moz-document url("http://udn.com/1024MAIN/inc/main_content_news.shtml") {
#marquee_text {display: none !important;}
}
@-moz-document url-prefix("http://udn.com/NEWS/") {
table.mainbg>tbody>tr>td+td {display: none !important;}
table.mainbg>tbody>tr>td>table+table>tbody>tr>td>table>tbody>tr+tr {display: none !important;}
table.mainbg>tbody>tr>td>table+table {width:987px !important;}
table.mainbg>tbody>tr>td>table+table>tbody>tr>td+td+td {width:843px !important;}
/*Add@960601*/
/*====================================================================*/
td[width="584"][valign="top"][height="100%"]>table>tbody>tr>td>table>tbody>tr {display: none !important;}
td[width="584"][valign="top"][height="100%"]>table>tbody>tr>td>table>tbody>tr:last-child {display:table-row !important;}
td[width="584"][valign="top"][height="100%"]>table>tbody>tr>td>table>tbody>tr:last-child>td>table:last-child>tbody>tr+tr+tr {display: none !important;}
td[width="584"][valign="top"][height="100%"]>table>tbody>tr>td>table>tbody>tr:last-child>td>table:last-child>tbody>tr+tr+tr+tr {display:table-row !important;}
td[width="584"][valign="top"][height="100%"]>table>tbody>tr>td>table>tbody>tr:last-child>td>table:last-child>tbody>tr+tr+tr+tr+tr {display: none !important;}
td[width="584"][valign="top"][height="100%"]>table>tbody>tr>td>table>tbody>tr:last-child>td>table:last-child>tbody>tr+tr+tr+tr+tr+tr+tr+tr {display:table-row !important;}
/*
因為tr有10個及12個的,所以"其他新聞"會出現在8th tr及10th tr,
但因10個或12個出現地方不一定,所以統一將8th tr之後都顯示出來
另10th or 12th tr可以last-child使其不顯示,另加於後面
10個tr:tr+tr+(tr)+tr+(tr)+(tr)+(tr)+tr+(tr)+(tr),1、2、4、8顯示
12個tr:tr+tr+(tr)+tr+(tr)+(tr)+(tr)+(tr)+tr+(tr)+(tr)+(tr),1、2、4、10顯示
*/
/*Disable@960605*/
/*====================================================================
td[width="584"][valign="top"][height="100%"]>table>tbody>tr>td>table>tbody>tr:last-child>td>table:last-child>tbody>tr+tr+tr+tr+tr+tr+tr+tr+tr+tr {display:table-row !important;}
td[width="584"][valign="top"][height="100%"]>table>tbody>tr>td>table>tbody>tr:last-child>td>table:last-child>tbody>tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr {display: none !important;}
====================================================================*/
/*Add@960605*/
td[width="584"][valign="top"][height="100%"]>table>tbody>tr>td>table>tbody>tr:last-child>td>table:last-child>tbody>tr:last-child {display: none !important;}
/*Add@960607*/
tr+tr+tr+tr+tr+tr+tr+tr>td>table>tbody {display:none !important}
tr+tr+tr+tr+tr+tr+tr+tr>td {height:0px !important}
img[src="/1024/images/spacer.gif"] {display:none !important}
tr+tr+tr+tr+tr+tr+tr+tr+tr>td {height:0px !important}
tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr>td {height:0px !important}
}
/*Test Example for 10 tr*/
/*====================================================================
@-moz-document url(http://udn.com/NEWS/FINANCE/FIN1/3877773.shtml) {
img[src="/1024/images/spacer.gif"] {display:none !important}
tr+tr+tr+tr+tr+tr+tr+tr+tr>td {height:0px !important}
}
====================================================================*/
/*Test Example for 12 tr*/
/*====================================================================
@-moz-document url(http://udn.com/NEWS/INFOTECH/INF2/3877565.shtml) {
tr+tr+tr+tr+tr+tr+tr+tr>td>table>tbody {display:none !important}
tr+tr+tr+tr+tr+tr+tr+tr>td {height:0px !important}
img[src="/1024/images/spacer.gif"] {display:none !important}
tr+tr+tr+tr+tr+tr+tr+tr+tr>td {height:0px !important}
tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr>td {height:0px !important}
}
====================================================================*/
My Stylish for UDN.com @960605
@-moz-document url("http://udn.com/NEWS/main.html") {
.mbg3,.mbg4,.mbg4_sub,#ad125_450,#ad120_350,#ad_sash,#tabbg,#tabbg2,#tabbg3,#tabbg4,#tabnav2,#tabnav3,#tabnav4,#tabnav_arrow2 ,#tabnav_arrow3,#tabnav_arrow4,#footer {display: none !important;}
#warp {height: 550px !important;}
#main_content {height: 440px !important;}
#index {height: 440px !important;}
}
@-moz-document url("http://udn.com/1024MAIN/inc/main_content_news.shtml") {
#marquee_text {display: none !important;}
}
@-moz-document url-prefix("http://udn.com/NEWS/") {
table.mainbg>tbody>tr>td+td {display: none !important;}
table.mainbg>tbody>tr>td>table+table>tbody>tr>td>table>tbody>tr+tr {display: none !important;}
table.mainbg>tbody>tr>td>table+table {width:987px !important;}
table.mainbg>tbody>tr>td>table+table>tbody>tr>td+td+td {width:843px !important;}
/*Add@960601*/
/*====================================================================*/
td[width="584"][valign="top"][height="100%"]>table>tbody>tr>td>table>tbody>tr {display: none !important;}
td[width="584"][valign="top"][height="100%"]>table>tbody>tr>td>table>tbody>tr:last-child {display:table-row !important;}
td[width="584"][valign="top"][height="100%"]>table>tbody>tr>td>table>tbody>tr:last-child>td>table:last-child>tbody>tr+tr+tr {display: none !important;}
td[width="584"][valign="top"][height="100%"]>table>tbody>tr>td>table>tbody>tr:last-child>td>table:last-child>tbody>tr+tr+tr+tr {display:table-row !important;}
td[width="584"][valign="top"][height="100%"]>table>tbody>tr>td>table>tbody>tr:last-child>td>table:last-child>tbody>tr+tr+tr+tr+tr {display: none !important;}
td[width="584"][valign="top"][height="100%"]>table>tbody>tr>td>table>tbody>tr:last-child>td>table:last-child>tbody>tr+tr+tr+tr+tr+tr+tr+tr {display:table-row !important;}
/*
因為tr有10個及12個的,所以"其他新聞"會出現在8th tr及10th tr,
但因10個或12個出現地方不一定,所以統一將8th tr之後都顯示出來
另10th or 12th tr可以last-child使其不顯示,另加於後面
10個tr:tr+tr+(tr)+tr+(tr)+(tr)+(tr)+tr+(tr)+(tr),1、2、4、8顯示
12個tr:tr+tr+(tr)+tr+(tr)+(tr)+(tr)+(tr)+tr+(tr)+(tr)+(tr),1、2、4、10顯示
*/
/*Disable@960605*/
/*====================================================================
td[width="584"][valign="top"][height="100%"]>table>tbody>tr>td>table>tbody>tr:last-child>td>table:last-child>tbody>tr+tr+tr+tr+tr+tr+tr+tr+tr+tr {display:table-row !important;}
td[width="584"][valign="top"][height="100%"]>table>tbody>tr>td>table>tbody>tr:last-child>td>table:last-child>tbody>tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr {display: none !important;}
====================================================================*/
/*Add@960605*/
td[width="584"][valign="top"][height="100%"]>table>tbody>tr>td>table>tbody>tr:last-child>td>table:last-child>tbody>tr:last-child {display: none !important;}
}
Links for Stylish
CSS3 Tests
- body > center ~ table
- body#body_show > div > table:not(.show) > tbody > tr:first-child > td:not(.side)
CSS Selectors and Pseudo Selectors and browser support
聯合新聞網@960515
@-moz-document url("http://udn.com/NEWS/main.html") {
.mbg3,.mbg4,.mbg4_sub,#ad125_450,#ad120_350,#ad_sash,#tabbg,#tabbg2,#tabbg3,#tabbg4,#tabnav,#tabnav2,#tabnav3,#tabnav4,#tabnav_arrow,#tabnav_arrow2 ,#tabnav_arrow3,#tabnav_arrow4,#ad_set,#footer {display: none !important;}
#warp {height: 520px !important;}
#main_content {height: 410px !important;}
#index {height: 410px !important;}
#header_passnews {font-size:10px !important;}
}
@-moz-document url("http://udn.com/1024MAIN/inc/main_content_news.shtml") {
#marquee_text {display: none !important;}
#photo,#clist {top:5px !important;}
#qlist {top:240px !important;}
}
@-moz-document url-prefix("http://udn.com/NEWS/") {
table.mainbg>tbody>tr>td+td {display: none !important;}
table.mainbg>tbody>tr>td>table+table>tbody>tr>td>table>tbody>tr+tr {display: none !important;}
table.mainbg>tbody>tr>td>table+table {width:987px !important;}
table.mainbg>tbody>tr>td>table+table>tbody>tr>td+td+td {width:843px !important;}
}
My Stylish for 聯合新聞網@960515
@-moz-document url(http://udn.com/NEWS/main.html) {
.mbg3,.mbg4,.mbg4_sub,#ad125_450,#ad120_350,#ad_sash,#tabbg,#tabbg2,#tabbg3,#tabbg4,#tabnav2,#tabnav3,#tabnav4,#tabnav_arrow2 ,#tabnav_arrow3,#tabnav_arrow4,#footer {display: none !important;}
#warp {height: 550px !important;}
#main_content {height: 440px !important;}
#index {height: 440px !important;}
}
@-moz-document url(http://udn.com/1024MAIN/inc/main_content_news.shtml) {
#marquee_text {display: none !important;}
}
@-moz-document url-prefix(http://udn.com/NEWS/) {
table.mainbg>tbody>tr>td+td {display: none !important;}
table.mainbg>tbody>tr>td>table+table>tbody>tr>td>table>tbody>tr+tr {display: none !important;}
table.mainbg>tbody>tr>td>table+table {width:987px !important;}
table.mainbg>tbody>tr>td>table+table>tbody>tr>td+td+td {width:843px !important;}
}
My Stylish for Dream-park 夢公園娛樂工坊 Update at 20070423
/*For All Forum*/
@-moz-document url-prefix("http://www.dream-park.us/DP40/") {
div[id="jsmenu_parent"][class="mainborder"] {display:none} /* Add@960327 */
.mainheader { padding:0px !important;} /* Add@960327 */
/*Flash LOGO*/
table[width="100%"][cellspacing="0"][cellpadding="0"][border="0"] {display:none}
div[class="logo"] {display:none} /* Add@960327 */
.menu {margin-top:0px !important;} /* Add@960327 */
/*Now Time div*/
div[class="maintable"][style="color: rgb(102, 102, 102); clear: both;"] {display:none}
/*Declare@bottom*/
body {font-size: 0px !important;}
/*Bottom Blank*/
div[align="center"][style="clear: both;"] + br {display:none}
/*Remove Text for 科學小飛俠、林志玲推薦、蔡依琳推薦、無敵鐵金剛*/
a[href="http://www.dream-dvd.com/"]{display:none}
}
/*For Forum Index*/
@-moz-document url("http://www.dream-park.us/DP40/index.php") {
/*Remove DIV for 科學小飛俠、林志玲推薦、蔡依琳推薦、無敵鐵金剛*/
div[style="clear: both; margin-top: 5px;"] {display:none}
/*Bottom Blank*/
div#creditlist_menu + br {display:none}
}
/*For ForumDisplay*/
@-moz-document url-prefix("http://www.dream-park.us/DP40/forumdisplay") {
a:visited {color: #dddddd !important;}
/*DIV for 科學小飛俠、林志玲推薦、蔡依琳推薦、無敵鐵金剛 is not fix sort!!!*/
/*Next div is
/*Remove DIV for 長期徵空間說明...*//* Add@20070423 */
body>center>div+div+div+div+div+div {display:none}
/*Recover DIV under 長期徵空間說明...*//* Add@20070423 */
body>center>div+div+div+div+div+div+div {display:block}
}
/*For ViewThread*/
@-moz-document url-prefix("http://www.dream-park.us/DP40/viewthread") {
/*Remove DIV for 科學小飛俠、林志玲推薦、蔡依琳推薦、無敵鐵金剛*/
/*@3rd div*/
html > body > center > table+div+div+div {display:none}
/*AD under MSG field*/
tr[class="t_infoline"]{display:none}
/*MSG Font Size 16->15 Update@20070413*/
/*div[style="font-size: 16px;"] {font-size:15px !important}*/
div.t_msgfont {font-size:15px !important} /* Add@20070413 */
/*Right Float Text*//* Add@20070413 */
div[align="right"][style="float: right;"]{display:none}
/*發表於....去除"[廣告]"字樣*//* Add@20070413 */
table.t_msg>tbody>tr:first-child {font-size:0 !important}
/*發表於....恢復"[發表於...]"字樣*//* Add@20070413 */
table.t_msg>tbody>tr:first-child>td>div {font-size:12px !important}
/*發表於....去除"[廣告]"右方字樣*//* Add@20070413 */
table.t_msg>tbody>tr:first-child>td>div+a{display:none}
/*Remove signature*//* Add@20070413 */
/*.t_signature {display:none}*/
table.t_msg>tbody>tr+tr+tr>td[valign="bottom"] {display:none}
/*Remove margin bottom*//* Add@20070413 */
div.spaceborder+div[style="margin-bottom: 4px;"] {display:none}
/*Remove DIV for 長期徵空間說明...*//* Add@20070423 */
body>center>div+div+div+div {display:none}
/*Recover DIV under 長期徵空間說明...*//* Add@20070423 */
body>center>div+div+div+div+div {display:table}
}
My Stylish for BT-WOO @ 960503
/*
搭配Adblock Plsu,封鎖
http://bt-woo.com/bbb/E/11.gif
http://bt-woo.com/discuz/images/very_black/logo.gif
http://bt-woo.com/discuz/images/very_black/th.gif
http://bt-woo.com/discuz/images/very_black/th1.gif
http://bt-woo.com/discuz/images/very_black/xx521_sjhm_
http://adsense.scupio.com/
*/
@-moz-document url-prefix("http://bt-woo.com/discuz/") {
/*BT子版文字底色紅色顯示 Add@960424*/
a[href="forumdisplay.php?fid=352"] {BACKGROUND-COLOR:#ff0000}
a[href="forumdisplay.php?fid=371"] {BACKGROUND-COLOR:#ff0001}
a[href="forumdisplay.php?fid=372"] {BACKGROUND-COLOR:#ff0002}
a[href="forumdisplay.php?fid=373"] {BACKGROUND-COLOR:#ff0003}
a[href="forumdisplay.php?fid=374"] {BACKGROUND-COLOR:#ff0004}
a[href="forumdisplay.php?fid=375"] {BACKGROUND-COLOR:#ff0005}
a[href="forumdisplay.php?fid=376"] {BACKGROUND-COLOR:#ff0006}
a[href="forumdisplay.php?fid=377"] {BACKGROUND-COLOR:#ff0007}
a[href="forumdisplay.php?fid=378"] {BACKGROUND-COLOR:#ff0008}
a[href="forumdisplay.php?fid=379"] {BACKGROUND-COLOR:#ff0009}
a[href="forumdisplay.php?fid=380"] {BACKGROUND-COLOR:#ff0010}
a[href="forumdisplay.php?fid=381"] {BACKGROUND-COLOR:#ff0011}
a[href="forumdisplay.php?fid=382"] {BACKGROUND-COLOR:#ff0012}
a[href="forumdisplay.php?fid=383"] {BACKGROUND-COLOR:#ff0013}
a[href="forumdisplay.php?fid=384"] {BACKGROUND-COLOR:#ff0014}
a[href="forumdisplay.php?fid=386"] {BACKGROUND-COLOR:#ff0015}
a[href="forumdisplay.php?fid=387"] {BACKGROUND-COLOR:#ff0016}
a[href="forumdisplay.php?fid=388"] {BACKGROUND-COLOR:#ff0017}
a[href="forumdisplay.php?fid=389"] {BACKGROUND-COLOR:#ff0018}
a[href="forumdisplay.php?fid=411"] {BACKGROUND-COLOR:#ff0019}
a[href="forumdisplay.php?fid=412"] {BACKGROUND-COLOR:#ff0020}
a[href="forumdisplay.php?fid=413"] {BACKGROUND-COLOR:#ff0021}
a[href="forumdisplay.php?fid=414"] {BACKGROUND-COLOR:#ff0022}
a[href="forumdisplay.php?fid=417"] {BACKGROUND-COLOR:#ff0023}
a[href="forumdisplay.php?fid=418"] {BACKGROUND-COLOR:#ff0024}
a[href="forumdisplay.php?fid=419"] {BACKGROUND-COLOR:#ff0025}
a[href="forumdisplay.php?fid=420"] {BACKGROUND-COLOR:#ff0026}
a[href="forumdisplay.php?fid=421"] {BACKGROUND-COLOR:#ff0027}
a[href="forumdisplay.php?fid=423"] {BACKGROUND-COLOR:#ff0028}
a[href="forumdisplay.php?fid=436"] {BACKGROUND-COLOR:#ff0029}
a[href="forumdisplay.php?fid=451"] {BACKGROUND-COLOR:#ff0030}
a[href="forumdisplay.php?fid=537"] {BACKGROUND-COLOR:#ff0031}
a[href="forumdisplay.php?fid=352&page=1"] {BACKGROUND-COLOR:#ff0000}
a[href="forumdisplay.php?fid=371&page=1"] {BACKGROUND-COLOR:#ff0001}
a[href="forumdisplay.php?fid=372&page=1"] {BACKGROUND-COLOR:#ff0002}
a[href="forumdisplay.php?fid=373&page=1"] {BACKGROUND-COLOR:#ff0003}
a[href="forumdisplay.php?fid=374&page=1"] {BACKGROUND-COLOR:#ff0004}
a[href="forumdisplay.php?fid=375&page=1"] {BACKGROUND-COLOR:#ff0005}
a[href="forumdisplay.php?fid=376&page=1"] {BACKGROUND-COLOR:#ff0006}
a[href="forumdisplay.php?fid=377&page=1"] {BACKGROUND-COLOR:#ff0007}
a[href="forumdisplay.php?fid=378&page=1"] {BACKGROUND-COLOR:#ff0008}
a[href="forumdisplay.php?fid=379&page=1"] {BACKGROUND-COLOR:#ff0009}
a[href="forumdisplay.php?fid=380&page=1"] {BACKGROUND-COLOR:#ff0010}
a[href="forumdisplay.php?fid=381&page=1"] {BACKGROUND-COLOR:#ff0011}
a[href="forumdisplay.php?fid=382&page=1"] {BACKGROUND-COLOR:#ff0012}
a[href="forumdisplay.php?fid=383&page=1"] {BACKGROUND-COLOR:#ff0013}
a[href="forumdisplay.php?fid=384&page=1"] {BACKGROUND-COLOR:#ff0014}
a[href="forumdisplay.php?fid=386&page=1"] {BACKGROUND-COLOR:#ff0015}
a[href="forumdisplay.php?fid=387&page=1"] {BACKGROUND-COLOR:#ff0016}
a[href="forumdisplay.php?fid=388&page=1"] {BACKGROUND-COLOR:#ff0017}
a[href="forumdisplay.php?fid=389&page=1"] {BACKGROUND-COLOR:#ff0018}
a[href="forumdisplay.php?fid=411&page=1"] {BACKGROUND-COLOR:#ff0019}
a[href="forumdisplay.php?fid=412&page=1"] {BACKGROUND-COLOR:#ff0020}
a[href="forumdisplay.php?fid=413&page=1"] {BACKGROUND-COLOR:#ff0021}
a[href="forumdisplay.php?fid=414&page=1"] {BACKGROUND-COLOR:#ff0022}
a[href="forumdisplay.php?fid=417&page=1"] {BACKGROUND-COLOR:#ff0023}
a[href="forumdisplay.php?fid=418&page=1"] {BACKGROUND-COLOR:#ff0024}
a[href="forumdisplay.php?fid=419&page=1"] {BACKGROUND-COLOR:#ff0025}
a[href="forumdisplay.php?fid=420&page=1"] {BACKGROUND-COLOR:#ff0026}
a[href="forumdisplay.php?fid=421&page=1"] {BACKGROUND-COLOR:#ff0027}
a[href="forumdisplay.php?fid=423&page=1"] {BACKGROUND-COLOR:#ff0028}
a[href="forumdisplay.php?fid=436&page=1"] {BACKGROUND-COLOR:#ff0029}
a[href="forumdisplay.php?fid=451&page=1"] {BACKGROUND-COLOR:#ff0030}
a[href="forumdisplay.php?fid=537&page=1"] {BACKGROUND-COLOR:#ff0031}
}
@-moz-document url("http://bt-woo.com/discuz/index.php") {
/*走馬燈*/
tr[class="altbg2"][align="center"] {display:none}
}
@-moz-document url-prefix("http://bt-woo.com/discuz/viewthread.php"),url-prefix("http://bt-woo.com/discuz/redirect.php") {
/* 頭像 Add@960420*/
table[width="160"]+br+table[width="95%"] {display:none}
/* 上發表主題列+論壇跳轉 Add@960423 */
/* table>tbody>tr>td+td>center>div+div {display:none} *//*Disable@960430*/
/* 上下發表主題列 Add@960423 */
div.maintable>table>tbody>tr>td+td[align="right"] {display:none}
/* 下發表主題列之下br Add@960430 */
div.maintable>table+br {display:none}
/* 最底面空白列 Add@960423*/
body>div+div+table+table+table+table+div+table {display:none}
/* 內文字型大小及行距 Add@960424*/
span[style="font-size: 12px;"] {font-size:22px !important; line-height:150%;}
/* 發表人及內文欄位寬度 Add@960502*/
td[width="21%"][valign="top"] {width:163px !important}
td[width="79%"][valign="top"] {width:100% !important}
}
@-moz-document domain("bt-woo.com") {
body,.header {background-color:#000000 !important;}
html>body>div+div+table,html>body>div+div+table+table {display:none}
html>body>div+div+table+table+table>tbody>tr>td+td+td+td {display:none}
td[background="images/very_black/xx521_sjhm_17.gif"] {display:none}
/* 左側 */
td[width="29"][valign="top"][background="images/very_black/xx521_sjhm_33.gif"] {display:none}
/* 也是左側(內一層) Add@960415 */
td[width="15"][background="images/very_black/xx521_sjhm_20.gif"] {display:none}
/* 右側 */
td[width="29"][valign="top"][background="images/very_black/xx521_sjhm_34.gif"] {display:none}
/* 也是右側(內一層) Add@960415 */
td[width="15"][background="images/very_black/xx521_sjhm_22.gif"] {display:none}
/* 廣告欄X6 */
p+table,p+table+table {display:none}
/* 簽名檔 Add@960415 */
/* 第1樓的簽名檔 */
tr.altbg1>td+td>table>tbody>tr+tr {display:none}
/* 第2~N樓的簽名檔 */
tr.altbg2>td+td>table>tbody>tr+tr {display:none}
/* Bottom Logo Add@960415 */
body>div+div+table+table+table+table+table {display:none}
/* Border image above Bottom Logo Add@960415 */
body>div+div+table+table+table+table>tbody>tr>td+td>table+table+table {display:none}
}
My test Stylish for BT-WOO@960502
td[width="21%"][valign="top"] {width:163px !important}
td[width="79%"][valign="top"] {width:100% !important}
My Stylish for BT-WOO@960430
/*
搭配Adblock Plsu,封鎖
http://bt-woo.com/bbb/E/11.gif
http://bt-woo.com/discuz/images/very_black/logo.gif
http://bt-woo.com/discuz/images/very_black/th.gif
http://bt-woo.com/discuz/images/very_black/th1.gif
http://bt-woo.com/discuz/images/very_black/xx521_sjhm_
http://adsense.scupio.com/
*/
@-moz-document url-prefix("http://bt-woo.com/discuz/") {
/*BT子版文字底色紅色顯示 Add@960424*/
a[href="forumdisplay.php?fid=352"] {BACKGROUND-COLOR:#ff0000}
a[href="forumdisplay.php?fid=371"] {BACKGROUND-COLOR:#ff0001}
a[href="forumdisplay.php?fid=372"] {BACKGROUND-COLOR:#ff0002}
a[href="forumdisplay.php?fid=373"] {BACKGROUND-COLOR:#ff0003}
a[href="forumdisplay.php?fid=374"] {BACKGROUND-COLOR:#ff0004}
a[href="forumdisplay.php?fid=375"] {BACKGROUND-COLOR:#ff0005}
a[href="forumdisplay.php?fid=376"] {BACKGROUND-COLOR:#ff0006}
a[href="forumdisplay.php?fid=377"] {BACKGROUND-COLOR:#ff0007}
a[href="forumdisplay.php?fid=378"] {BACKGROUND-COLOR:#ff0008}
a[href="forumdisplay.php?fid=379"] {BACKGROUND-COLOR:#ff0009}
a[href="forumdisplay.php?fid=380"] {BACKGROUND-COLOR:#ff0010}
a[href="forumdisplay.php?fid=381"] {BACKGROUND-COLOR:#ff0011}
a[href="forumdisplay.php?fid=382"] {BACKGROUND-COLOR:#ff0012}
a[href="forumdisplay.php?fid=383"] {BACKGROUND-COLOR:#ff0013}
a[href="forumdisplay.php?fid=384"] {BACKGROUND-COLOR:#ff0014}
a[href="forumdisplay.php?fid=386"] {BACKGROUND-COLOR:#ff0015}
a[href="forumdisplay.php?fid=387"] {BACKGROUND-COLOR:#ff0016}
a[href="forumdisplay.php?fid=388"] {BACKGROUND-COLOR:#ff0017}
a[href="forumdisplay.php?fid=389"] {BACKGROUND-COLOR:#ff0018}
a[href="forumdisplay.php?fid=411"] {BACKGROUND-COLOR:#ff0019}
a[href="forumdisplay.php?fid=412"] {BACKGROUND-COLOR:#ff0020}
a[href="forumdisplay.php?fid=413"] {BACKGROUND-COLOR:#ff0021}
a[href="forumdisplay.php?fid=414"] {BACKGROUND-COLOR:#ff0022}
a[href="forumdisplay.php?fid=417"] {BACKGROUND-COLOR:#ff0023}
a[href="forumdisplay.php?fid=418"] {BACKGROUND-COLOR:#ff0024}
a[href="forumdisplay.php?fid=419"] {BACKGROUND-COLOR:#ff0025}
a[href="forumdisplay.php?fid=420"] {BACKGROUND-COLOR:#ff0026}
a[href="forumdisplay.php?fid=421"] {BACKGROUND-COLOR:#ff0027}
a[href="forumdisplay.php?fid=423"] {BACKGROUND-COLOR:#ff0028}
a[href="forumdisplay.php?fid=436"] {BACKGROUND-COLOR:#ff0029}
a[href="forumdisplay.php?fid=451"] {BACKGROUND-COLOR:#ff0030}
a[href="forumdisplay.php?fid=537"] {BACKGROUND-COLOR:#ff0031}
a[href="forumdisplay.php?fid=352&page=1"] {BACKGROUND-COLOR:#ff0000}
a[href="forumdisplay.php?fid=371&page=1"] {BACKGROUND-COLOR:#ff0001}
a[href="forumdisplay.php?fid=372&page=1"] {BACKGROUND-COLOR:#ff0002}
a[href="forumdisplay.php?fid=373&page=1"] {BACKGROUND-COLOR:#ff0003}
a[href="forumdisplay.php?fid=374&page=1"] {BACKGROUND-COLOR:#ff0004}
a[href="forumdisplay.php?fid=375&page=1"] {BACKGROUND-COLOR:#ff0005}
a[href="forumdisplay.php?fid=376&page=1"] {BACKGROUND-COLOR:#ff0006}
a[href="forumdisplay.php?fid=377&page=1"] {BACKGROUND-COLOR:#ff0007}
a[href="forumdisplay.php?fid=378&page=1"] {BACKGROUND-COLOR:#ff0008}
a[href="forumdisplay.php?fid=379&page=1"] {BACKGROUND-COLOR:#ff0009}
a[href="forumdisplay.php?fid=380&page=1"] {BACKGROUND-COLOR:#ff0010}
a[href="forumdisplay.php?fid=381&page=1"] {BACKGROUND-COLOR:#ff0011}
a[href="forumdisplay.php?fid=382&page=1"] {BACKGROUND-COLOR:#ff0012}
a[href="forumdisplay.php?fid=383&page=1"] {BACKGROUND-COLOR:#ff0013}
a[href="forumdisplay.php?fid=384&page=1"] {BACKGROUND-COLOR:#ff0014}
a[href="forumdisplay.php?fid=386&page=1"] {BACKGROUND-COLOR:#ff0015}
a[href="forumdisplay.php?fid=387&page=1"] {BACKGROUND-COLOR:#ff0016}
a[href="forumdisplay.php?fid=388&page=1"] {BACKGROUND-COLOR:#ff0017}
a[href="forumdisplay.php?fid=389&page=1"] {BACKGROUND-COLOR:#ff0018}
a[href="forumdisplay.php?fid=411&page=1"] {BACKGROUND-COLOR:#ff0019}
a[href="forumdisplay.php?fid=412&page=1"] {BACKGROUND-COLOR:#ff0020}
a[href="forumdisplay.php?fid=413&page=1"] {BACKGROUND-COLOR:#ff0021}
a[href="forumdisplay.php?fid=414&page=1"] {BACKGROUND-COLOR:#ff0022}
a[href="forumdisplay.php?fid=417&page=1"] {BACKGROUND-COLOR:#ff0023}
a[href="forumdisplay.php?fid=418&page=1"] {BACKGROUND-COLOR:#ff0024}
a[href="forumdisplay.php?fid=419&page=1"] {BACKGROUND-COLOR:#ff0025}
a[href="forumdisplay.php?fid=420&page=1"] {BACKGROUND-COLOR:#ff0026}
a[href="forumdisplay.php?fid=421&page=1"] {BACKGROUND-COLOR:#ff0027}
a[href="forumdisplay.php?fid=423&page=1"] {BACKGROUND-COLOR:#ff0028}
a[href="forumdisplay.php?fid=436&page=1"] {BACKGROUND-COLOR:#ff0029}
a[href="forumdisplay.php?fid=451&page=1"] {BACKGROUND-COLOR:#ff0030}
a[href="forumdisplay.php?fid=537&page=1"] {BACKGROUND-COLOR:#ff0031}
}
@-moz-document url("http://bt-woo.com/discuz/index.php") {
/*走馬燈*/
tr[class="altbg2"][align="center"] {display:none}
}
@-moz-document url-prefix("http://bt-woo.com/discuz/viewthread.php") {
/* 頭像 Add@960420*/
table[width="160"]+br+table[width="95%"] {display:none}
/* 上發表主題列+論壇跳轉 Add@960423 */
/* table>tbody>tr>td+td>center>div+div {display:none} *//*Disable@960430*/
/* 上下發表主題列 Add@960423 */
div.maintable>table>tbody>tr>td+td[align="right"] {display:none}
/* 下發表主題列之下br Add@960430 */
div.maintable>table+br {display:none}
/* 最底面空白列 Add@960423*/
body>div+div+table+table+table+table+div+table {display:none}
/*內文字型大小及行距 Add@960424*/
span[style="font-size: 12px;"] {font-size:22px !important; line-height:150%;}
}
@-moz-document url-prefix("http://bt-woo.com/discuz/redirect.php") {
/* 頭像 Add@960423*/
table[width="160"]+br+table[width="95%"] {display:none}
/* 上發表主題列+論壇跳轉 Add@960423 */
table>tbody>tr>td+td>center>div+div {display:none}
/* 下發表主題列 Add@960423 */
div.maintable>table>tbody>tr>td+td[align="right"] {display:none}
/* 最底面空白列 Add@960423*/
body>div+div+table+table+table+table+div+table {display:none}
/*內文字型大小及行距 Add@960424*/
span[style="font-size: 12px;"] {font-size:22px !important; line-height:150%;}
}
@-moz-document domain("bt-woo.com") {
body,.header {background-color:#000000 !important;}
html>body>div+div+table,html>body>div+div+table+table {display:none}
html>body>div+div+table+table+table>tbody>tr>td+td+td+td {display:none}
td[background="images/very_black/xx521_sjhm_17.gif"] {display:none}
/* 左側 */
td[width="29"][valign="top"][background="images/very_black/xx521_sjhm_33.gif"] {display:none}
/* 也是左側(內一層) Add@960415 */
td[width="15"][background="images/very_black/xx521_sjhm_20.gif"] {display:none}
/* 右側 */
td[width="29"][valign="top"][background="images/very_black/xx521_sjhm_34.gif"] {display:none}
/* 也是右側(內一層) Add@960415 */
td[width="15"][background="images/very_black/xx521_sjhm_22.gif"] {display:none}
/* 廣告欄X6 */
p+table,p+table+table {display:none}
/* 簽名檔 Add@960415 */
/* 第1樓的簽名檔 */
tr.altbg1>td+td>table>tbody>tr+tr {display:none}
/* 第2~N樓的簽名檔 */
tr.altbg2>td+td>table>tbody>tr+tr {display:none}
/* Bottom Logo Add@960415 */
body>div+div+table+table+table+table+table {display:none}
/* Border image above Bottom Logo Add@960415 */
body>div+div+table+table+table+table>tbody>tr>td+td>table+table+table {display:none}
}
My Stylish for BOOM8
@-moz-document url-prefix("http://boom8.com/") {
div[id="linkalert-box"],table[width="100%"][height="60"][cellspacing="0"][cellpadding="0"][bordercolor="#000000"][border="1"][bgcolor="#000000"][style="border-collapse:collapse;"],form[target="_blank"][action="http://36it.com/search/search.php"],img[width="266"][height="57"][src="../logo/bbs1.gif"],body>div>div>center>table>tbody>tr>td{display:none}
form>b,div+center+hr {display:none}
}
@-moz-document url-prefix("http://boom8.com/book/") {
body>script+table+center+div>div+hr {display:none}
body>script+table+center+div>div+hr+div+hr {display:block !important}
}
@-moz-document url("http://boom8.com/book/search.php") {
div+center+hr {display:none}
}
My Stylish for ePayHits PTC
@-moz-document url-prefix(http://www.epayhits.com/members/ptc.php) {
p+div+div,p+div+div+p {display:none}
p+p+p+font {display:none}
body>table {width:65%}
body>table>tbody>tr:first-child {display:none}
body>table>tbody>tr+tr:first-child {display:none}
}
My Stylish for BT-WOO@virtual-browser
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url("http://proxy.virtual-browser.com/p/001010A0011011/http:=2f=2fbt-woo.com=2fdiscuz/index.php") {
table[width="100%"][cellspacing="0"][cellpadding="0"][border="0"][bgcolor="#d5d5d5"][align="center"],
td[bgcolor="#e7e7e7"][align="center"]>center>div+div+div {display:none}
p+table,p+table+table {display:none}
table[class="tableborder"][width="100%"][cellspacing="1"][cellpadding="4"][align="center"] {display:none}
tr.header {display:none}
div#_proxy_css_main_div>table:first-child {display:none}
td[background="http://proxy.virtual-browser.com/p/001010A0011011/http:=2f=2fbt-woo.com=2fdiscuz=2fimages=2fvery_black/xx521_sjhm_12.gif"] {display:none}
td[bgcolor="#fbfbfb"]+td {display:none}
td[width="29"] {display:none}
center>div:first-child {display:none}
}
My Stylish for BT-WOO
@namespace url(http://www.w3.org/1999/xhtml);
/*搭配Adblock Plsu,封鎖
http://bt-woo.com/bbb/E/11.gifhttp://bt-woo.com/discuz/images/very_black/logo.gifhttp://bt-woo.com/discuz/images/very_black/th.gifhttp://bt-woo.com/discuz/images/very_black/th1.gifhttp://bt-woo.com/discuz/images/very_black/xx521_sjhm_
http://adsense.scupio.com/
*/
@-moz-document url("http://bt-woo.com/discuz/index.php") {
/*走馬燈*/
tr[class="altbg2"][align="center"] {display:none}
}
@-moz-document domain("bt-woo.com") {
body,.header {background-color:#000000 !important;}
html>body>div+div+table,html>body>div+div+table+table {display:none}
html>body>div+div+table+table+table>tbody>tr>td+td+td+td {display:none}
td[background="images/very_black/xx521_sjhm_17.gif"] {display:none}
/* 左側 */
td[width="29"][valign="top"][background="images/very_black/xx521_sjhm_33.gif"] {display:none}
/* 也是左側(內一層) Add@960415 */
td[width="15"][background="images/very_black/xx521_sjhm_20.gif"] {display:none}
/* 右側 */
td[width="29"][valign="top"][background="images/very_black/xx521_sjhm_34.gif"] {display:none}
/* 也是右側(內一層) Add@960415 */
td[width="15"][background="images/very_black/xx521_sjhm_22.gif"] {display:none}
/* 廣告欄X6 */
p+table,p+table+table {display:none}
/* 簽名檔 Add@960415 */
/* 第1樓的簽名檔 */
tr.altbg1>td+td>table>tbody>tr+tr {display:none}
/* 第2~N樓的簽名檔 */
tr.altbg2>td+td>table>tbody>tr+tr {display:none}
/* Bottom Logo Add@960415 */
body>div+div+table+table+table+table+table {display:none}
/* Border image above Bottom Logo Add@960415 */
body>div+div+table+table+table+table>tbody>tr>td+td>table+table+table {display:none}
}
My Stylish for Dream-park 夢公園娛樂工坊 Update at 20070413
@namespace url(http://www.w3.org/1999/xhtml);
/*For All Forum*/
@-moz-document url-prefix("http://www.dream-park.us/DP40/") {
div[id="jsmenu_parent"][class="mainborder"] {display:none} /* Add@960327 */
.mainheader { padding:0px !important;} /* Add@960327 */
/*Flash LOGO*/
table[width="100%"][cellspacing="0"][cellpadding="0"][border="0"] {display:none}
div[class="logo"] {display:none} /* Add@960327 */
.menu {margin-top:0px !important;} /* Add@960327 */
/*Now Time div*/
div[class="maintable"][style="color: rgb(102, 102, 102); clear: both;"] {display:none}
/*Declare@bottom*/
body {font-size: 0px !important;}
/*Bottom Blank*/
div[align="center"][style="clear: both;"] + br {display:none}
/*Remove Text for 科學小飛俠、林志玲推薦、蔡依琳推薦、無敵鐵金剛*/
a[href="http://www.dream-dvd.com/"]{display:none}
}
/*For Forum Index*/
@-moz-document url("http://www.dream-park.us/DP40/index.php") {
/*Remove DIV for 科學小飛俠、林志玲推薦、蔡依琳推薦、無敵鐵金剛*/
div[style="clear: both; margin-top: 5px;"] {display:none}
/*Bottom Blank*/
div#creditlist_menu + br {display:none}
}
/*For ForumDisplay*/
@-moz-document url-prefix("http://www.dream-park.us/DP40/forumdisplay") {
a:visited {color: #dddddd !important;}
/*DIV for 科學小飛俠、林志玲推薦、蔡依琳推薦、無敵鐵金剛 is not fix sort!!!*/
/*Next div is <div class="maintable" style="clear: both;">,How to remove the div before the rule DIV*/
}
/*For ViewThread*/
@-moz-document url-prefix("http://www.dream-park.us/DP40/viewthread") {
/*Remove DIV for 科學小飛俠、林志玲推薦、蔡依琳推薦、無敵鐵金剛*/
/*@3rd div*/
html > body > center > table+div+div+div {display:none}
/*AD under MSG field*/
tr[class="t_infoline"]{display:none}
/*MSG Font Size 16->15 Update@20070413*/
/*div[style="font-size: 16px;"] {font-size:15px !important}*/
div.t_msgfont {font-size:15px !important} /* Add@20070413 */
/*Right Float Text*//* Add@20070413 */
div[align="right"][style="float: right;"]{display:none}
/*發表於....去除"[廣告]"字樣*//* Add@20070413 */
table.t_msg>tbody>tr:first-child {font-size:0 !important}
/*發表於....消復"[發表於...]"字樣*//* Add@20070413 */
table.t_msg>tbody>tr:first-child>td>div {font-size:12px !important}
/*發表於....去除"[廣告]"右方字樣*//* Add@20070413 */
table.t_msg>tbody>tr:first-child>td>div+a{display:none}
/*Remove signature*//* Add@20070413 */
/*.t_signature {display:none}*/
table.t_msg>tbody>tr+tr+tr>td[valign="bottom"] {display:none}
/*Remove margin bottom*//* Add@20070413 */
div.spaceborder+div[style="margin-bottom: 4px;"] {display:none}
}