您的位置:首页 > Web前端 > CSS

没人性的js / 重置浏览器默认样式/虚线/css引用/空格/页面边距/rails tag/字体

2009-12-24 12:54 886 查看
8、<font face=微软雅黑 color=blue size=3></font>

7、rails 引用相对路径图片: <%=image_path "calendar/appli.png"%> <%=image_tag "calendar/04_Portfolio.png"%>

rails 引用js: "<%=perf_calendars_path + ".js"%>"

<%= javascript_include_tag "jQuery.js" %>

<%= stylesheet_link_tag "jQuery-1.3.css"%>

6、 body {margin-left:12em;margin-right:10em; }

5、  '‹ 上个月 下个月 ›

4、

<head>

<style type="text/css"> </style>

<script type="text/javascript"> </script>
</head>

3、虚线 <div style="border-top:1px dashed #cccccc;height: 1px;overflow:hidden"></div>

2、 t = 1; t =+ 2; t = ? // t = 2

1、Reset.css

html{color:#000;background:#FFF;}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,
fieldset,input,textarea,p,blockquote,th,td {
margin:0;
padding:0;
}
table {
border-collapse:collapse;
border-spacing:0;
}
fieldset,img {
border:0;
}
address,caption,cite,code,dfn,em,strong,th,var {
font-style:normal;
font-weight:normal;
}
ol,ul {
list-style:none;
}
caption,th {
text-align:left;
}
h1,h2,h3,h4,h5,h6 {
font-size:100%;
font-weight:normal;
}
q:before,q:after {
content:”;
}
abbr,acronym { border:0;
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐