我常用的重置样式表reset.css
/*===============基础信息================*/
*{border: 0;padding: 0;margin: 0;}
table {border-collapse:collapse;border-spacing:0;}
ol,ul {list-style:none;}
h1,h2,h3,h4,h5,h6 {font-si...
分类:
Web程序 时间:
2015-01-12 16:45:19
阅读次数:
158
1.css全局Html代码html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,...
分类:
Web程序 时间:
2015-01-08 09:23:49
阅读次数:
330
一、总结的公用样式解析html, body, div, p, ul, li, dl, dt, dd, h1, h2, h3, h4, h5, h6, form, input, select, button, textarea, iframe, table, th, td { margin: 0; p...
分类:
Web程序 时间:
2015-01-07 10:54:55
阅读次数:
177
h1,h2,h3,h4,h5,h6,p,blockquote { margin: 0; padding: 0;}body { font-family: "Helvetica Neue", Helvetica, "Hiragino Sans GB", Arial, sans-serif; font-size: 13px; line-height: 18px; co...
分类:
移动开发 时间:
2015-01-05 18:45:44
阅读次数:
513
一、选择器 1、选择器的分组:一个Style可以对多个选择器生效,只用在不同的选择器中间加入逗号即可。如:h1,h2,h3,h4,h5,h6 { color: green; } PS:CSS规定,所有子元素继承父元素的属性。但是对子元素的Style做修改后,就会覆盖父元素的属性。 2、...
分类:
Web程序 时间:
2015-01-04 18:36:40
阅读次数:
309
我所使用到的HTML页面标签:
Section,div,artical,p,ol,ul,li,header,footer,span,form,input,label,h1,h2,h3 ;详细说明我就不说了,只给新手说下,为什么W3C那么多标签,只使用16个就可以把整个项目解决了?
原因是...
分类:
移动开发 时间:
2015-01-04 15:05:06
阅读次数:
256
如何生成一个SHA1表#include "list.h"
INT32 mnuSearch_i32OSM = 0;
void sha1_init( SHA1_CONTEXT *hd )
{
hd->h0 = 0x67452301U;
hd->h1 = 0xefcdab89U;
hd->h2 = 0x98badcfeU;
hd->h3 = 0x10325476U;...
分类:
其他好文 时间:
2014-12-31 10:06:45
阅读次数:
454
很多网站在css reset 的时候有如下做法:body,ul,ol,li,p,h1,h2,h3,h4,h5,h6,form,label,dl,dt,dd,fieldset,img{margin:0;padding:0;border:0;list-style:none;}也许你有些许怀疑,上面列出的...
分类:
Web程序 时间:
2014-12-25 12:50:34
阅读次数:
199
body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td { margin:0; padd...
分类:
Web程序 时间:
2014-12-24 22:43:44
阅读次数:
238
login.aspx代码如下:
body { width:780px; margin:0px auto;}
form { width:400px; margin:0px auto;}
h3 { margin:10px; padding:10px; text-align:center;}
...
分类:
移动开发 时间:
2014-12-19 12:18:47
阅读次数:
231