易截截图软件、单文件、免安装、纯绿色、仅160KB

CSS Reset(CSS复位)

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
     padding: 0;
     margin: 0;
}
fieldset, img {
     border: 0;
}
table {
     border-collapse: collapse;
     border-spacing: 0;
}
ol, ul {
     list-style: none;
}
address, caption, cite, code, dfn, em, strong, th, var {
     font-weight: normal;
     font-style: normal;
}
caption, th {
     text-align: left;
}
h1, h2, h3, h4, h5, h6 {
     font-weight: normal;
     font-size: 100%;
}
q:before, q:after {
     content: '';
}
abbr, acronym {
     border: 0;
}


相关文档:

在网页中加入CSS的方法

1.直接加在对象上
  <html>
   <head>
    <title>title</title>
   </head>
   <body>
    <span style="color:red">red</span>
   </body>
  </html>
2.加到页面头部
  <html>
   <head>
    < ......

CSS之困

今天开始做我们公司内部使用的ITSM系统的静态页面,这个页面好复杂,当然,我是一个才开始做页面的家伙,所以对我来说还有一定的难度。侧栏要折叠,菜单要Js控制,我本来以前是搞编程的,都是直接用人家的页面,css和js都只是会一点皮毛,现在伤到我的心了。
今天还有一个不幸的消息,我竟然挂了一科,大学4年的清白生活啊 ......

ul li css 做横向菜单

转自http://www.w3cn.org/article/tips/2005/105.html
我们先来看一个菜单的例子,最终效果是:
 
第一步:建立一个无序列表
我们先建立一个无序列表,来建立菜单的结构。代码是:
<ul>
<li><a href="1">首页</a></li>
<li><a href="2">产品介绍</a></li> ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号