/*公共开始*/
body, ol, ul, h1, h2, h3, h4, h5, h6, p, th, td, dl, dd, form, fieldset, legend, input, textarea, select{margin:;padding:;}
body{font:12px "宋体","Arial Narrow",HELVETICA;background:#FFF;-webkit-text-size-adjust:100%;color:#333;}
a{text-decoration:none;color:#333;}
a:hover{text-decoration:underline; color:#f88324}
em{font-style:normal;}
li{list-style:none;}
img{border:;vertical-align:middle;}
table{border-collapse:collapse;border-spacing:;}
p{word-wrap:break-word;}
.undis{display:none;}
.dis{display:block;}
.cf:after,.layout:after,.hd:after,.bd:after,.ft:after{content:"";display:table;clear:both;}
.cf,.layout,.hd,.bd,.ft{*zoom:;}
.layout{ width:1000px; margin:0 auto}
.fl{ float:left; _display:inline}
.fr{ float:right; _display:inline}
.yh{ font-family:"微软雅黑"; font-weight:normal;}
.bgf{ background:#fff;}
.posr{ position:relative;zoom:}
.mt{ margin-top:20px;}
.borf{border:1px solid #c7d8e0; border-top:0px; background:#fff;}
.bor{border:1px solid #c7d8e0; background:#fff;}
/*公共结束*/
/*新浪微博公共头部*/
/*css hack: \9 ie6-ie8; \0 ie8*/
body, button, input, select, textarea {font:12px/1.125 Arial, Helvetica, sans-serif;_font-family:"SimSun";}
body, h1, h2, h3, h4, h5, h6, dl, dt, dd, ul, ol, li, th, td, p, blockquote, pre, form, fieldset, legend, input, button, textarea, hr {margin:;padding:;}
table {border-collapse:collapse; border-spacing:;}
li {list-style:none;}
fieldset, img {border:;}
q:before, q:after {content:'';}
a:focus, input, textarea {outline-style:none;}/*对ie7+有效*/
input[type="text"], input[type="password"], textarea {outline-style:none;-webkit-appearance:none;}
textarea {resize:none}
address, caption, cite, code, dfn, em, i, th, var, b {font-style:normal;font-weight:normal;}
abbr, acronym {border:;font-variant:normal;} a {color:#0a8cd2;text-decoration:none;}
a:hover {text-decoration:underline;}
.clearfix:after {content: ".";display: block;height:;clear: both;visibility: hidden;}
.clearfix {display: inline-block;}
.clearfix {display: block;}
.clear {clear:both;height:;font:0/0 Arial;visibility:hidden;} .CH {font-family:"SimSun"}
.W_Yahei {font-family:"Microsoft Yahei"}
.W_Tahoma {font-family:Tahoma} .W_fs {font-size:10px;-webkit-transform:scale(0.875)}
.W_fb {font-weight:;}
.W_f14 {font-size:14px}
.W_f16 {font-size:16px}
.W_f18 {font-size:18px}
.W_f20 {font-size:20px} .W_fl {float:left;_display:inline}
.W_fr {float:right;_display:inline}
.W_tc {text-align:center;}
.W_tr {text-align:right;}
.W_input, .W_inputStp {
border:1px solid #ccc;
border-radius:2px;
height:28px;
height:20px\9;
padding:0 0 0 5px;
padding:8px 0 0 5px\9;
vertical-align: middle;
vertical-align:top\9;
color:#808080;
-webkit-box-shadow:0px 1px 1px 0px #eaeaea inset;
-moz-box-shadow:0px 1px 1px 0px #eaeaea inset;
box-shadow:0px 1px 1px 0px #eaeaea inset;
}
textarea.W_input {
overflow-y:auto;
overflow-x:hidden;
}
:root .W_input, :root .W_inputStp {
height:24px\0;
padding:5px 0 0 5px\0;
}
.W_input_focus, .W_input:focus, .W_inputStp:focus {
border-color:#FFB941!important;
-webkit-box-shadow:1px 1px 1px 0px #ddd inset;
-moz-box-shadow:1px 1px 1px 0px #ddd inset;
box-shadow:1px 1px 1px 0px #ddd inset;
color:#333;
}
.W_input_default {
color:#b8b7b7;
}
.W_checkbox, .W_radio {
vertical-align:-2px;
_vertical-align:-3px;
margin-right:3px;
*margin-right:;
}
.W_checkbox:focus, .W_radio:focus {
outline-color:#ffb941;
outline-width:1px;
outline-style:solid;
}
.W_face_radius {
border-radius:2px;
}

公用的css的更多相关文章

  1. 一款公用的CSS+DIV弹窗

    为了方便以后自己使用! <html> <head> <style> .winmainshow { background: #fff; padding: 10px 5 ...

  2. CSS预处器的对比——Sass、Less和Stylus

    预处器的对比--Sass.LESS和Stylus 转载: 英文原文:http://net.tutsplus.com/tutorials/html-css-techniques/sass-vs-less ...

  3. 【前端开发】优化代码之减少引入,css预编译语言的优点,stylus的使用

    前言:我必须得承认在最最最开始的时候,我对于css的预编译是非常不以为然的,这是错误的.一般在页面编写过程中,我会将需要reset的css放在reset.css中,讲会需要重复用到的放置到public ...

  4. CSS设计模式之三权分立模式篇

    分类: Html/CSS | 转载请注明: 出自 海玉的博客 本文地址: http://www.hicss.net/separation-of-powers-model-in-css-design-p ...

  5. 从div盒子模型谈如何写可维护的css代码(转)

    市面上我们常常会看到各种各样的设计模式书籍,Java设计模式.C#设计模式.Ruby设计模式等等.在众多的语言设计模式中我唯独找不到关于CSS设计模式的资料,即使在网上找到类似内容,细细一看之下才发觉 ...

  6. CSS预处理器——Sass、LESS和Stylus实践

    CSS(Cascading Style Sheet)被译为级联样式表,做为一名前端从业人员来说,这个专业名词并不陌生,在行业中通常称之为“风格样式表(Style Sheet)”,它主要是用来进行网页风 ...

  7. CSS预处理器的对比 — Sass、Less和Stylus

    本文根据Johnathan Croom的<sass vs. less vs. stylus: Preprocessor Shootout>所译,整个译文带有我们自己的理解与思想,如果译得不 ...

  8. 初始化css文件

    首先我们需要了解一下为什么需要公共样式(公共样式是为了初始化某些标签的默认值): 1. 因为浏览器的兼容问题,不同浏览器对有些标签的默认值是不同的,如果没对CSS初始化往往会出现浏览器之间的页面显示差 ...

  9. CSS设计模式之三权分立模式篇 ( 转)

    转自 海玉的博客 市面上我们常常会看到各种各样的设计模式书籍,Java设计模式.C#设计模式.Ruby设计模式等等.在众多的语言设计模式中我唯独找不到关于CSS设计模式的资料,即使在网上找到类似内容, ...

随机推荐

  1. java23种设计模式之一: 代理模式(动态代理)

    在学习Spring的时候,我们知道Spring主要有两大思想,一个是IoC,另一个就是AOP,对于IoC,依赖注入就不用多说了,而对于Spring的核心AOP来说,我们不但要知道怎么通过AOP来满足的 ...

  2. Apache -- 利用.htaccess防盗链

    在Apache服务器的前提下利用.htaccess文件来防盗链的原理是通过检查图片或文件请求头信息中的Referer属性(也就是请求的来源),判断它是否属于你所规定的合法的请求来源,从而实现让合法来源 ...

  3. WampServer -- “You don't have permission to access /phpmyadmin/ on this server.”

    当你安装完成wamp后,打开localhost或ip时发现已经可以运行了 但想使用phpmyadmin时,发现提示如下内容: You don't have permission to access / ...

  4. Educational Codeforces Round 10 A. Gabriel and Caterpillar 模拟

    A. Gabriel and Caterpillar 题目连接: http://www.codeforces.com/contest/652/problem/A Description The 9-t ...

  5. jpush-react-native 推送功能(Android 篇)

    github原地址 极光推送官方支持的 React Native 插件 安装 npm install jpush-react-native --savenpm install jcore-react- ...

  6. Android 工程报错解决 Unable to resolve target 'android-17'

    转自:http://www.cnblogs.com/csulennon/p/3705177.html 换了系统后,重新安装了Android SDK和ADT插件,导入之前的工作空间.居然发现所有的And ...

  7. Pydoc 本地 HTML 形式查看

    Pydoc 本地 HTML 形式查看 我们在编写Python代码时,常常会去查询某些模块及函数的使用,会选择 dir() 及 help() 函数.或查看 CHM 格式的Python帮助文档.或查看Py ...

  8. Python的__getattribute__ vs __getattr__的妙用

    这里的属性即包括属性变量,也包括属性方法.即类的变量和方法. 当访问某个实例属性时, getattribute会被无条件调用,如未实现自己的getattr方法,会抛出AttributeError提示找 ...

  9. iOS:Xcode的beta下编译低版本项目时,出现的Link错误( "_fwrite$UNIX2003", referenced from:)

    开发的项目多了,对于一个i386的错误,处理起来应该是得心应手的,可是仔细看来,跟之前遇到i386的错误还不大一样,直接搜i386是搜不到该问题解决的方法,你要是搜“Undefined symbols ...

  10. SRM 212 Div II Level Two: WinningRecord,Brute Force

    题目来源:http://community.topcoder.com/stat?c=problem_statement&pm=3003&rd=5858 比较简单. 代码如下: #inc ...