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

来源:互联网 发布:怎么变漂亮知乎 编辑:程序博客网 时间:2024/05/01 18:55

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、&nbsp;   '&lsaquo; 上个月   下个月 &rsaquo;

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; 

 

原创粉丝点击