⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 017.css

📁 网上购物系统
💻 CSS
字号:
 /*-------------------- 基本html标记样式 --------------------*/
  body {background-position: 0% 0%; padding:0; margin:0px; font-family: Arial, Verdana, Helvetica;font-size: 12px;color: #666666;text-align: center; background-image:url('bg.jpg'); background-repeat:repeat; background-attachment:fixed }
  body, td, div, p, textarea {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
  }
  img {max-width: 100%;border:0px;}
  form {margin:0;padding:0;}
  td {font-size: 12px;color: #666;}
  a:link,a:visited {color:#666666;text-decoration:none}
  a:hover,a:active {color:#0294CD;text-decoration:underline}
  a:link.U, a:visited.U {}
  a:hover.U, a:active.U {text-decoration:underline; }
  a:link.M, a:visited.M {}
  a:hover.M, a:active.M {text-decoration:underline}
  .HackBox {clear: both;font-size:0px;line-height:0px;} /*---清除浮动---*/
  .dotline { border:1px dashed #C0C0C0; height:1px }
  .RightHead { border-top:1px solid #333333; margin:0px; line-height:25px;height:25px;padding-left:10px;font-weight:bold;font-size:12px;background-image:url('ptitle.jpg'); background-repeat:repeat; background-position-y:center;  }
  .RightBox {   }
  
 /*---主体样式---*/
  #container {width:910px;margin:0px auto;padding:0px 4px; background-color:#FFFFFF }
 
  /*---顶部样式---*/
  #container #header{margin:0;width:100%; background-color:#FFFFFF}
  #container #header #shopheader {margin:0px auto;overflow: hidden;width: 910px;}
  #container #header #logo {background: #FFF;padding: 1px 5px 1px 6px;float: left;width:50%;text-align:left;}
  #container #header #headnavbar { folat:right;text-align:right;margin-top:10px;height:30px;}
  #container #header #headnavbar ul { list-style:none;margin:0px;}
  #container #header #headnavbar ul li {float:left;margin-left:14px;display:block;line-height:15px;text-align:left}
  #container #header #headnavbar .menuDiv { width:1px;height:15px;background:#999 }
  #container #header #headsearch {float:right;clear:right;width:50%;text-align:right;margin-bottom:5px;}
   
  #menu {text-align: center;height:28px;line-height:28px;font-weight:bold;font-size:14px; color:#FFFFFF; background-repeat:repeat; background-attachment:scroll; background-position-y:center; background-image:url('bg_nav.gif')}
  #menu #Left {}
  #menu #Right {}  
  #menu ul{ list-style:none; margin-top:6px; }
  #menu li{ float:left;margin:0 16px;display:block;line-height:22px;padding-bottom:6px }
  .menuDiv { width:1px;height:12px;  }/*---菜单分割线---*/
  .menuL {}
  .menuR {}  
  #menu a:link {text-decoration: none; color:#FFFFFF }
  #menu a:visited {text-decoration: none; color:#FFFFFF  }
  #menu a:hover {text-decoration: underline; color:#FFFFFF }

  /*---内容样式---*/
  #container #tbody {width:100%;background-color:#FFFFFF;text-align:left;margin:6px auto; background-image:url('shadow-of-topnav.gif'); background-repeat:no-repeat; background-position-y:top }
  
  /*---侧栏--*/
  #sidebar {float:left;width:190px;text-align:center;margin:0;}
  #innersidebar {}

  /*---侧栏样式--*/
  .sidepanel {margin-bottom:10px;border:1px solid #DFDFDF; background:#FFFFFF; width:100%; padding:0px }
  .Ptitle{margin:0px; line-height:25px;height:25px;padding-left:10px;text-align:left;font-weight:bold;background-image:url('ptitle.jpg'); font-size: 12px; background-repeat:repeat}  
  .Pcontent{text-align:left;background-repeat:repeat-y; padding:5px}  
  .Pcontent ul {list-style:none;margin:0px;padding:1px;}
  .Pcontent ul li {padding:1px 0;}
  .Pfoot{height:10px; }  
  
  /*---主内容--*/ 
  #mainContent{margin:0px;float:right;width:710px; background-color:#FFFFFF:}
  #innermainContent{margin:1px}
  .content-width{margin:auto;width:100%}/*--主内容元素的全局宽度--*/
  #MainNav { margin:0px; line-height:20px;height:20px;padding:4px 4px 4px 0px; }
  #MainNav h2 { font-size:14px;margin:5px 0px;padding:0px }
  .MainDesc { margin:0px; padding:4px; }
  .MainDesc ul {list-style:none;margin:0px;padding:5px;}
  .MainDesc ul li {padding:4px 0;}
  
  /*---底部样式---*/
  #container #foot {width:100%;margin:0px auto;text-align:center;  }
  #container #foot #footin {margin-top:10px;margin-bottom:5px;}
  
  /*---首页轮显广告样式/首页最新动态样式---*/
  #container #adv_middle {float:left;width:280px;text-align:center;margin:0px}
  .news_top10 {margin:0px 0px 10px 0px;float:right;width:250px;}
  #container #link_index {width:100%;text-align:left; margin-left:auto; margin-right:auto; margin-top:0px; margin-bottom:0px; background-color:#FFFFFF}
  .MainHead {font-weight: bold; background-color: #F5F5F5}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -