没人性的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;
}
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;
}
相关文章推荐
- 用reset.css重置浏览器默认样式的重要性
- Firefox 插件 JSview是一套比较实用的JS,CSS文件查看工具,很方便,很快捷地查看页面引用了哪些文件,作为Web前端开发者是一套必备的插件,由于Firefox升级过快,插件很快不兼容了,这里对插件做了一些调整,可以兼容最新Firefox浏览器(目前FireFox 21)
- 菜鸟CSSer之-重置浏览器默认样式
- Normalize.css的功能用处,是不是重置浏览器默认样式表?
- [CSS] 去掉a标签超链接的虚线框,禁止浏览器默认input样式
- 前台页面技术之引用 js 与css 方法
- CSS中文字体与浏览器默认字体之页面可用性
- 完美解决前端页面js,css,jquery引用不上的问题
- 使用Normalize.css重置默认样式
- 【Web前端笔记】浏览器页面白边问题,css修改默认边距
- 浏览器默认样式,书写页面注意地方
- [CSS]clearfix 清除浮动元素及去掉浏览器默认样式
- 经过action跳转后得到的页面中css和js的样式引入不能应用
- 精通CSS.DIV网页样式与布局(六)——页面和浏览器元素
- 使用Safari浏览器自带工具,查看页面中 css 样式的引用~
- 关于reset.css的疑问:为什么一定要重置浏览器样式?
- 移动端重置浏览器默认样式代码
- 如何让浏览器访问最新的js、css等外部引用文件?
- css知多少(4)——解读浏览器默认样式
- 今天发下我自己的css框架——base.css,作用是重设浏览器默认样式和提供通用原子类。(转载)