CSS公用文件
由于各瀏覽器的默認(rèn)CSS樣式不一樣,我們必須寫一個(gè)CSS Reset統(tǒng)一起來。
通常我的做法是在common.css里寫全局控制,這里面也包括header和footer,其它CSS文件就通過@import url(”common.css”);引用。
body{padding:10px;margin:0;background:#fff;font-size:12px;line-height:14px;color:#333;font-family:Arial;}
form,ul,ol,h1,h2,h3,h4,h5,h6,p{margin:0;padding:0;list-style:none;}
input,textarea,select,button{font-size:12px;}
img{border:none;}
address,cite,small{color:#999;font-style:normal;font-size:12px;}
a{color:#09c;text-decoration:none;}
a:hover{text-decoration:underline;} #header{...}
#footer{...}
通常我的做法是在common.css里寫全局控制,這里面也包括header和footer,其它CSS文件就通過@import url(”common.css”);引用。
body{padding:10px;margin:0;background:#fff;font-size:12px;line-height:14px;color:#333;font-family:Arial;}
form,ul,ol,h1,h2,h3,h4,h5,h6,p{margin:0;padding:0;list-style:none;}
input,textarea,select,button{font-size:12px;}
img{border:none;}
address,cite,small{color:#999;font-style:normal;font-size:12px;}
a{color:#09c;text-decoration:none;}
a:hover{text-decoration:underline;} #header{...}
#footer{...}
轉(zhuǎn)載于:https://blog.51cto.com/youjiagz/324717
總結(jié)
- 上一篇: C++多继承中重写不同基类中相同原型的虚
- 下一篇: maven上传jar到私服