?? default.css
字號:
}
/* 圖片更新 */
.p_class_list
{
padding: 0px;
margin: 0px;
}
.p_class_list li
{
padding: 0px;
margin: 5px 0px;
width: 24.8%;
float: left;
text-align: center;
}
/* 頭條圖片顯示列表 */
.imgtitle
{
padding: 0px;
margin: 0px;
}
.imgtitle li
{
width: 49.5%;
float: left;
border-bottom: 1px dotted #e2e2e2;
}
.imgtitle img
{
width: 547px;
}
/* 二列式圖文布局 */
.p_thumb_l
{
float: left;
text-align: center;
background: #f8f8f8;
padding: 5px;
margin-top: 5px;
margin-left: 10px;
display:inline;
}
.p_thumb_l, .p_thumb_l li
{
text-align: center;
}
.p_thumb_l, .p_thumb_l_pic img
{
width: 160px;
}
.p_thumb_l_title
{
margin-top: 5px;
}
.p_list_r
{
margin-left: 10px;
}
.p_list_r li, .p_list_r td
{
border-bottom: 1px dotted #e2e2e2;
width: 97%;
float: left;
}
.p_thumb_l table
{
float: left;
}
/* 首頁二列式圖文布局 */
.p_thumb_l_index
{
float: left;
text-align: center;
padding: 5px;
margin-top: 5px;
margin-left: 10px;
display:inline;
height: 18px;
margin-bottom: 0px;
}
.p_thumb_l_index, .p_thumb_l_index li
{
text-align: center;
}
.p_thumb_l_index, .p_thumb_l img
{
width: 160px;
}
.p_thumb_l_title_index
{
margin-top: 5px;
}
.p_list_r_index
{
margin-left: 200px;
margin-top: 15px;
}
.p_list_r_index li, .p_list_r_index td
{
width: 49.5%;
float: left;
border-bottom: 1px dotted #e2e2e2;
vertical-align:middle;
display:inline;
*html #left{ margin-right:-3px; //這句是關鍵}
}
.p_thumb_l_index table
{
float: left;
}
/* 二列式列表布局 */
.p_list_two, .p_list_two li
{
padding: 0px;
margin: 0px;
}
.p_list_two li
{
width: 49.5%;
float: left;
}
.p_list_two li, .p_list_two td
{
border-bottom: 1px dotted #e2e2e2;
}
/* ==網站首頁內容顯示定義結束== */
/* --整站普通圖片列表標簽-- */
/* 定義縮略圖外框大小,控制隱藏超出的圖片內容 */
.pe_u_thumb, .p_thumb_l_pic
{
height: 120px;
overflow: hidden;
text-align: center;
border: 1px solid #e2e2e2;
}
/* 定義縮略圖寬度,按比例縮放 */
.pe_u_thumb, .pe_u_thumb img
{
width: 160px;
}
/* 定義縮略圖標題樣式 */
.pe_u_thumb_title
{
margin: 5px 5px 5px 0px;
height: 17px;
overflow: hidden;
font: normal normal normal 12px/120% Arial, "宋體" ,Helvetica,sans-serif;
text-align: center;
word-wrap: break-word;
word-break: keep-all;
}
.pe_u_thumb_title a
{
color: blue;
}
.pe_u_thumb_list, .pe_u_thumb_list a
{
font: normal normal normal 12px/120% Arial, "宋體" ,Helvetica,sans-serif;
text-align: left;
word-wrap: break-word;
word-break: keep-all;
}
.pe_u_thumb_list
{
margin: 0px 0px 2px 50px;
padding: 2px;
border-bottom: 1px dotted #e2e2e2;
}
.pe_u_thumb_list a
{
padding-left: 8px;
background: url(images/List.gif) no-repeat left -2px;
}
/* 一列式欄目列表信息列表標題樣式 */
.p_childclass_list li
{
width:100%;
text-align: left;
}
/* ==書簽面板文章定義開始== */
/* 二列式信息列表 */
.information_new
{
padding: 0px;
margin: 0px;
}
.information_new li
{
width: 49.5%;
float: left;
border-bottom: 1px dotted #e2e2e2;
}
/* 左圖右信息列表 */
.article_new
{
}
.article_new .p_list_r li
{
border-bottom: 1px dotted #e2e2e2;
}
.article_new .p_thumb_l .pe_u_thumb_title
{
height: 18px;
margin-bottom: 0px;
}
/* 三圖列表 */
.product_new
{
padding-top: 5px;
}
.product_new li
{
width: 33%;
float: left;
text-align: center;
}
.product_new .pe_u_thumb
{
height: 120px;
overflow: hidden;
text-align: center;
border: 1px solid #e2e2e2;
}
.product_new .pe_u_thumb, .product_new .pe_u_thumb img
{
width: 140px;
}
.product_new .pe_u_thumb_title
{
margin: 5px 5px 0px 0px;
}
/* 四圖列表 */
.pic_new
{
padding-top: 5px;
text-align:center;
}
.pic_new li
{
width: 100px;
margin-left:10.5px;
_margin-left:7px;
float: left;
text-align: center;
overflow: hidden;
margin-top:2px;
}
.pic_new .pe_u_thumb
{
height: 60px;
overflow: hidden;
text-align: center;
border: 1px solid #e2e2e2;
}
.pic_new .pe_u_thumb, .pic_new .pe_u_thumb img
{
width: 100px;
}
.pic_new .pe_u_thumb img {magin-top:3px;}
.pic_new .pe_u_thumb_title
{
margin: 5px 5px 0px 0px;
height: 16px;
}
/* 二列圖片信息列表 */
.piclist_new
{
padding-top: 5px;
}
.piclist_new li
{
width: 49%;
float: left;
border-bottom: 1px dotted #e2e2e2;
}
*html .piclist_new li img
{
margin-top: 5px;
}
/* 二列圖片列表 */
.piclist2_new
{
padding-top: 5px;
}
.piclist2_new li
{
width: 49%;
float: left;
text-align: center;
}
.piclist2_new .pe_u_thumb
{
margin: auto;
}
/* ==書簽面板文章定義結束== */
.new
{
float: left;
width: 10px;
height: 15px;
background: url(../../images/common1.gif) no-repeat;
}
/* 商品圖片、商品名及價格定義 */
.p_list_pic, .p_list_name, .p_list_price, .p_list_botton
{
padding: 0px;
margin: 0px;
}
.p_list_pic
{
margin-left: 8px;
width: 160px;
height: 120px;
overflow: hidden;
border: 1px solid #e2e2e2;
}
.p_list_pic img
{
width: 160px;
}
.p_list_name, .p_list_name a
{
padding: 5px;
text-align: center;
font: normal normal normal 12px/120% Arial,"宋體",Helvetica,sans-serif;
color: blue;
height: 28px;
overflow: hidden;
}
.p_list_price
{
text-align: left;
padding-left: 20px;
}
.p_list_botton, .p_list_botton img
{
text-align: center;
}
.p_list_botton img
{
margin: 2px;
}
/*==幻燈圖片==*/
#bimg
{
FILTER: progid:DXImageTransform.Microsoft.Fade(duration=0.5,overlap=1.0);
width: 298px;
height: 224px;
}
#simg TD
{
background: url(images/si_b1.gif) no-repeat center 50%;
cursor: pointer;
text-align: center;
}
#simg TD.s
{
background: url(images/si_b2.gif) no-repeat center 50%;
color: #fff;
}
#info
{
}
#spanusername
{
word-spacing :1.4em;
}
/* 匿名用戶投稿鏈接 */
.bt_login {
margin: 5px 10px 5px 5px;
display: block;
width: 67px;
height: 23px;
line-height: 23px;
text-align: center;
float:left;
color: #718cb0;
background: url(Images/bt_login.gif) center 0px no-repeat;
cursor: pointer;
}
.bt_login:hover {
color: #ffffff;
background: url(Images/bt_login.gif) center -23px no-repeat;
}
/* 設置瀏覽器滾動條顏色 */
<style type="text/css">
<!--
html {
scrollbar-face-color:#e6e6e6;
scrollbar-highlight-color:#fff;
scrollbar-shadow-color:#eeeeee;
scrollbar-3dlight-color:#eeeeee;
scrollbar-arrow-color:#d71518;
scrollbar-track-color:#fff;
scrollbar-darkshadow-color:#fff;
}
-->
</style>
/* 頂部導航菜單Root = Horizontal, Secondary = Vertical */
ul#navmenu-h {
margin: 0;
border: 0 none;
padding: 0;
width: 982px; /*For KHTML*/
list-style: none;
height: 30px;
}
ul#navmenu-h li {
margin: 0;
border: 0 none;
padding: 0;
float: left; /*For Gecko*/
display: inline;
list-style: none;
position: relative;
height: 32px;
}
ul#navmenu-h ul {
margin: 0;
border: 0 none;
padding: 0;
width: 126px;
list-style: none;
display: none;
position: absolute;
top: 32px;
left: 0;
}
ul#navmenu-h ul:after /*From IE 7 lack of compliance*/{
clear: both;
display: block;
font: 1px/0px serif;
content: ".";
height: 0;
visibility: hidden;
}
ul#navmenu-h ul li {
width: 126px;
float: left; /*For IE 7 lack of compliance*/
display: block !important;
display: inline; /*For IE*/
}
/* Root Menu */
ul#navmenu-h a {
border: 1px solid #f37979;
border-right-color: #13131d;
border-bottom-color: #13131d;
padding: 0 36px;/*兩個按鈕之間的距離*/
float: none !important; /*For Opera*/
float: left; /*For IE*/
display: block;
background: url(images/memu_bg.gif) #8f0000;
color: #fff;
font: normal normal bold 12px/30px Verdana, Arial, Helvetica, sans-serif;
text-decoration: none;
height: auto !important;
height: 1%; /*For IE*/
}
/* Root Menu Hover Persistence */
ul#navmenu-h a:hover,
ul#navmenu-h li:hover a,
ul#navmenu-h li.iehover a {
background: url(images/memu_bgg.gif) #cd0b0e;
color: #000;
}
/* 2nd Menu */
ul#navmenu-h li:hover li a,
ul#navmenu-h li.iehover li a {
float: none;
background:#8f0000;
color: #fff;
text-align: center;
padding: 0 18px;/*兩個按鈕之間的距離*/
}
/* 2nd Menu Hover Persistence */
ul#navmenu-h li:hover li a:hover,
ul#navmenu-h li:hover li:hover a,
ul#navmenu-h li.iehover li a:hover,
ul#navmenu-h li.iehover li.iehover a {
background: #cd0b0e;
color: #000;
}
/* 3rd Menu */
ul#navmenu-h li:hover li:hover li a,
ul#navmenu-h li.iehover li.iehover li a {
background: #8f0000;
color: #fff;
}
/* 3rd Menu Hover Persistence */
ul#navmenu-h li:hover li:hover li a:hover,
ul#navmenu-h li:hover li:hover li:hover a,
ul#navmenu-h li.iehover li.iehover li a:hover,
ul#navmenu-h li.iehover li.iehover li.iehover a {
background: #cd0b0e;
color: #000;
}
/* 4th Menu */
ul#navmenu-h li:hover li:hover li:hover li a,
ul#navmenu-h li.iehover li.iehover li.iehover li a {
background: #EEE;
color: #fff;
}
/* 4th Menu Hover */
ul#navmenu-h li:hover li:hover li:hover li a:hover,
ul#navmenu-h li.iehover li.iehover li.iehover li a:hover {
background: #cd0b0e;
color: #FFF;
}
ul#navmenu-h ul ul,
ul#navmenu-h ul ul ul {
display: none;
position: absolute;
top: 0;
left: 126px;
}
/* Do Not Move - Must Come Before display:block for Gecko */
ul#navmenu-h li:hover ul ul,
ul#navmenu-h li:hover ul ul ul,
ul#navmenu-h li.iehover ul ul,
ul#navmenu-h li.iehover ul ul ul {
display: none;
}
ul#navmenu-h li:hover ul,
ul#navmenu-h ul li:hover ul,
ul#navmenu-h ul ul li:hover ul,
ul#navmenu-h li.iehover ul,
ul#navmenu-h ul li.iehover ul,
ul#navmenu-h ul ul li.iehover ul {
display: block;
}
#dewish_bottom {
width: 982px;
border: 1px solid #CCCCCC;
clip: rect(auto,auto,auto,auto);
margin-right: auto;
margin-left: auto;
}
#dewish_link {
background: url(images/channel_bg.gif) repeat-x top;
font-family: "微軟雅黑", "宋體";
font-size: 14px;
font-style: normal;
line-height: normal;
font-weight: bold;
color: #000000;
height: 26px;
text-align: left;
vertical-align: left;
}
#dewish_linkcontent img {
height: 31px;
width: 88px;
}
#dewish_linkcontent {
font-family: "微軟雅黑", "宋體";
font-size: 12px;
font-weight: normal;
color: #333333;
text-align: left;
height: 41px;
list-style-position: inside;
list-style-type: none;
width: 980px;
vertical-align: middle;
}
#dewish_bottom #dewish_linkcontent li {
left: 5px;
right: auto;
float: left;
list-style-type: none;
list-style-image: none;
margin-left: 5px;
vertical-align: middle;
margin-top: 5px;
}
#copyright {
width: 980px;
margin-top: 5px;
margin-right: auto;
margin-left: auto;
text-align: center;
font-family: "微軟雅黑", "宋體";
font-size: 12px;
font-style: normal;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
border-top-color: #CCCCCC;
border-right-color: #CCCCCC;
border-bottom-color: #CCCCCC;
border-left-color: #CCCCCC;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -