網路城邦
上一篇 回創作列表 下一篇   字體:
將置底工具列併入網誌主選單實作 (UDN|Quirks mode)
2011/06/18 08:56:59瀏覽642|回應0|推薦15

 跨瀏覽器 : 支持 IE.Firefox.Chrome.Safari.Opera 之目前主流瀏覽器



/* toolbar START */
#footerbar
{
position:absolute !important;
display:block !important;
top:0px !important;
bottom:auto !important;
height:0px !important;
background: none !important;
}
#tb_periphery {
position:relative !important;
width:936px !important;
height:0px !important;
background:transparent !important;
}
#footerbar_open,
#tb_periphery_left,
.tb_interval {
display:none !important;
}
#tb_periphery_right {
position:absolute !important;
float:left !important;
left:280px !important;
top:111px !important;
height:31px !important;
}
a.alink {_cursor:pointer;}
a.dfm,
a.alink {
color:#2970a6 !important;
line-height:28px !important;
_line-height:28px !important;
padding:0 20px 3px !important;
_padding:3px 20px 0 !important;
font-size:13px !important;
background:transparent url(/community/img/PSN_PHOTO/start8588/f_6294270_1.png) left top no-repeat !important;
_background:none !important;

_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,src='http://blog.udn.com/community/img/PSN_PHOTO/start8588/f_6294270_1.png', sizingMethod='crop');

_zoom:expression(function(ele){ele.style.zoom="1";ele.href=(ele.href)?ele.href:"javascript:void(0);";}(this));
}
/* 注意:若a沒指向鏈結,在FF的selector裡必須加上a前綴 */
a.dfm:hover,
a.alink:hover {
background-position:left -31px !important;
_margin-top:-31px !important;
_padding-top:34px !important;
}
.box {
margin-right:-10px;
height:31px !important;
line-height:31px !important;
}
#sign.box {
padding-right:10px !important;
}
#sign.box a.alink {
_display:inline !important; /* 修正ie6双倍MARGIN的bug */
margin-right:-10px !important;
}
.footerbar_switch {
height:31px;
width:10px;
cursor:default !important;
background:transparent url(/community/img/PSN_PHOTO/start8588/f_6294270_1.png) left top no-repeat !important;
_background:none !important;
_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,src='http://blog.udn.com/community/img/PSN_PHOTO/start8588/f_6294270_1.png', sizingMethod='crop');
}
.footerbar_switch img {
display:none;
}
#sub_4,
#sub_5,
#sub_6 {
left:0px !important;
top:31px !important;
background:none !important;
padding:0px !important;
}
/* toolbar END */
( 休閒生活網路生活 )
推薦文章 列印 加入我的文摘
上一篇 回創作列表 下一篇

引用
引用網址:https://classic-blog.udn.com/article/trackback.jsp?uid=start8588&aid=5337334