body, div, h1, h2, h3, h4, p, ul, li { margin:0; padding:0; } body { background-color: #f5fbfe; height:100%; overflow:auto; font-size:13px; } /*---- 最外層包裝 ----*/ #WRAPPER { width: 800px; margin:0 auto; padding:0 11px; background-image: url(http://sites.google.com/a/dnt.tw/loc_implant/images/outer_bg.jpg); } /*---- 頁首 ----*/ #HEADER { background-color: #FFFFFF; } #HEADER h1 a { text-indent: -9999px; display: block; width: 800px; height: 160px; } /*---- 主選單 ----*/ #MAIN_NAV { background-color: #0054a7; overflow:auto; width: 800px; } #MAIN_NAV ul { list-style-type:none; } #MAIN_NAV li { float: left; } #MAIN_NAV li a { display: block; padding: 5px 10px 5px 10px; background-color: #0075c2; color: #FFFFFF; font-weight: bold; font-family: Arial; text-decoration: none; border-right:1px solid #FFFFFF; } #MAIN_NAV li a:hover { background-color: #FFFFFF; color: #000000; } /*---- 次選單 1 ----*/ #SUB_NAV_1{float:left; width:160px;} #SUB_NAV_1 a{ color:#6699FF;} #SUB_NAV_1 a:hover{ color:#FF0000;} #SUB_NAV_1 p,#SUB_NAV_1 h2{ text-align:center; padding:5px 6px;} #SUB_NAV_1 h2{ font-size:1em; background-color:#addef8;color:#001960;} /*---- 次選單 2 ----*/ #SUB_NAV_2{ float:right; width:160px;} #SUB_NAV_2 a{ color:#6699FF;} #SUB_NAV_2 a:hover{ color:#FF0000;} #SUB_NAV_2 p,#SUB_NAV_2 h2{ text-align:center; padding:5px 6px;} #SUB_NAV_2 h2{font-size:1em; background-color:#addef8;color:#001960;} /*---- 內容區 ----*/ #CONTENT { margin-right:160px; margin-left:160px; } #CONTENT h2, #CONTENT h4, #CONTENT p { padding:5px 20px; } #CONTENT h2 { font-size: 1em; text-align: center; background-color:#00387d; color:#FFF; } #CONTENT h4 { font-weight:normal; } #CONTENT .text { padding-top: 0px; } #CONTENT .image { border-style:solid; border-width:4px; border-color:#FFF; } #CONTENT .answer { padding:8px 20px; background-color:#f2faff; } #CONTENT .answer p{ } #CONTENT .focus { font-weight:bold; color:#00387d; } #CONTENT .link { cursor:hand; text-decoration:underline; } #CONTENT .indent_2 { text-indent:-3em; padding-left:4em; } #CONTENT table { width:450px; border:2px solid #0075c2; text-align:center; } #CONTENT td { border:1px solid #addef8; } /*---- 頁尾 ----*/ #FOOTER { clear: both; background-color: #0075c2; text-align:right; height:55px; } #FOOTER h2, #FOOTER p { font-size: .9em; padding:5px 20px; font-family: Arial; color: #FFFFFF; } #FOOTER a { font-family: Arial; color: #FFFFFF; } .clearfloat { clear:both; height:0; font-size: 1px; line-height: 0px; } /*---- 返回頁首 ----*/ #backtop {position:fixed; bottom:0;right:0;height:35px;width:35px;} #backtop a{display:block;height:35px;width:35px;text-indent:-9999px;background:url(http://sites.google.com/a/dnt.tw/loc_implant/images/back_top.gif);} #backtop a:hover{border:none;background:url(http://sites.google.com/a/dnt.tw/loc_implant/images/back_top_m.gif);} #backtop a:focus{-moz-outline-style:none;} /*---- 共用 ----*/ .center { text-align:center; }