常用global.css

html, body, ul, li, ol, dl, dd, dt, p, h1, h2, h3, h4, h5, h6, form, fieldset, legend, img { margin: 0; padding: 0;}
fieldset, img { border: medium none;}
address, caption, cite, code, dfn, th, var { font-style: normal;font-weight: normal;}
input { padding-bottom: 0; padding-top: 0;}
input::-moz-focus-inner { border: medium none; padding: 0;}
select, input { vertical-align: middle;}
select, input, textarea { font-size: 12px; margin: 0;}
input[type="text"], input[type="password"], textarea { outline-style: none;}
textarea { resize: none;}
.clearfix:after { clear: both; content: "."; display: block; height: 0; visibility: hidden;}
.clearit { clear: both; font-size: 0; height: 0;overflow: hidden;}

img{border: 0 none; vertical-align:middle; }
table { border-collapse: collapse; border-spacing: 0;}
fieldset{ border: 0;}
address, caption cite, code, dfn, strog, th, var {font-style: normal; font-weight: normal;}
h1, h2, h3, h4, h5, h6,b { font-size: 100%; font-weight: normal;}
ul,li{ list-style: none; float:left;}
caption, th { text-align: left;}
body, input, select, button, textarea { font-size: 12px; font-family:arial,"Hiragino Sans GB","Microsoft Yahei",sans-serif;}
button { cursor: pointer; }
i, em, cite { font-style: normal; }
body {color:#333; line-height:18px;}

a, a:link{color:#333; text-decoration: none;}
a:visited{ }
a:active, a:hover { text-decoration: underline;}
a:focus { outline: none; }
input, textarea, select {font-size:100%; vertical-align:middle; }
legend { color: #000;}
table { font-size: inherit; font: 100%;}
pre, code, kbd, samp, tt{ font-family: monospace; font-size:100%; line-height:100%;}
.clear,.ht5,.ht1, .ht2, .ht10,.ht16{font:0px/0px serif;clear: both;display: block;height:0px;}
.ht5{ height:5px;}
.ht10{ height:10px;}
.ht16{ height:16px;}
.ht30{ height:30px;}
.ht1{ height:21px; width:923px; position:relative; left:12px;}
.ht2{ clear:both; height:16px; width:923px; position:relative; left:12px;}
a, *:focus, *:active{ outline:none}

textarea{ border:none; border:1px solid #ebebeb;}
select{ border:none; border:1px solid #ebebeb; line-height:25px; height:25px; vertical-align:middle}
input[type="text"], input[type="password"], input[type="file"], textarea, select {
border:1px solid #ccc; background:none; color:#777; font-size:12px; line-height:29px; height:29px; background:#fff; padding-left:3px;
font-family:inherit; /*corner*/
-moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius:2px;}
input[type="button"]{ cursor:pointer}

input[type="text"]:hover, input[type="password"]:hover, input[type="file"]:hover, textarea:hover, select:hover { color:#666; background: #fff none; border-color:#c6c6c6;}
input[type="text"]:focus, input[type="password"]:focus, input[type="file"]:focus, textarea:focus, select:focus {
color:#333; background: #fff none; border-color:#659ec9 #70aedd #a8cfec; outline: 0; }
.container-01pic-three input[type="text"]{ line-height:18px; height:18px;}
.container-xiaopic-three input[type="text"]{ line-height:18px; height:18px;}

.add input[type="text"]{ width:23px; line-height:16px; height:16px; text-align:center}

时间: 2024-07-29 09:51:28

常用global.css的相关文章

[转] 常用的CSS命名规则

(一)常用的CSS命名规则  头:header  内容:content/container  尾:footer  导航:nav  侧栏:sidebar  栏目:column  页面外围控制整体布局宽度:wrapper  左右中:left right center  登录条:loginbar  标志:logo  广告:banner  页面主体:main  热点:hot  新闻:news  下载:download  子导航:subnav  菜单:menu  子菜单:submenu  搜索:searc

常用的CSS Hack技术集锦

来源:http://www.ido321.com/938.html 一.什么是CSS Hack? 不同的浏览器对CSS的解析结果是不同的,因此会导致相同的CSS输出的页面效果不同,这就需要CSS Hack来解决浏览器局部的兼容性问题.而这个针对不同的浏览器写不同的CSS 代码的过程,就叫CSS Hack. CSS Hack常见的有三种形式:CSS属性Hack.CSS选择符Hack以及IE条件注释Hack, Hack主要针对IE浏览器. 1.属性级Hack:比如IE6能识别下划线"_"和

常用的CSS Hack

一.什么是CSS Hack? 不同的浏览器对CSS的解析结果是不同的,因此会导致相同的CSS输出的页面效果不同,这就需要CSS Hack来解决浏览器局部的兼容性问题.而这个针对不同的浏览器写不同的CSS 代码的过程,就叫CSS Hack.CSS Hack常见的有三种形式:CSS属性Hack.CSS选择符Hack以及IE条件注释Hack, Hack主要针对IE浏览器.1.属性级Hack:比如IE6能识别下划线""和星号" ",IE7能识别星号" "

css的框架——global.css

global.css,一般这个css文件是用于装全站主要框架css样式代码. “global”翻译为全局.全部.从翻译中大家也能理解global.css用于做什么.大站常常用于装全站公共的CSS样式选择器. 全站能重复调用的CSS样式都放入此CSS文件内,可以节约样式代码.规范.有利于调用辨别.同时日后修改全站某处相同地方时候,由于全站公共部分样式集中于此global.css文件内,所以修改此文件内对应一处CSS样式即可完成对全站布局修改,节约时间方便管理. @charset "utf-8&qu

关于文字的常用样式css

文章摘自:http://blog.csdn.net/cicada_slough/article/details/43305303 文字斜体p.italic {font-style:italic}p.oblique {font-style:oblique} letter-spacing  文字间距text-indent:2em  首行缩进当前文字两个单位 FontsQuirrel 字体在线转换网址.TTF或.OTF,适用于Firefox?3.5.Safari.Opera???.EOT,适用于Int

整理 W3CSchool 常用的CSS属性列表

近期教学给学员总结常用的CSS属性,方便学习查询,正好发上来也给大家分享一下,O(∩_∩)O. 摘选自:http://www.w3cschool.com.cn/ 表格最右列的数字标识支持的CSS最低版本. 目录: 01. CSS背景属性(Background) 02. CSS边框属性(Border和Outline) 03. CSS文本属性(Text) 04. CSS字体属性(Font) 05. CSS外边距属性(Margin) 06. CSS内边距属性(Padding) 07. CSS列表属性(

global.css

@charset "utf-8";  /* 2014.7.29 By ILoveXiaoming */article,aside,audio,bdi,canvas,command,datalist,details,figcaption,figure,footer,header,hgroup,keygen,mark,meter,nav,output,progress,rp,rt,ruby,section,source,summary,time,track,video,title{ dis

常用的CSS属性的英文单词总结及用法、解释

在div css制作中常用的CSS属性的英文单词介绍.解释与css样式用法总结.这些单词无需一定要记住会拼写,但是要求看见他们就能认识他们并知道他们的属性及用法,这里有个记住他们属性的技巧就是多制作和手写div+css推荐用Dreamweaver(DW)因为此工具在写CSS和html的代码时候会自动弹出用到的CSS代码,多用多看就能记住他们的用法及属性.(如果您的记忆力好能记住也好不影响) 一.(盒子)布局排版类   -   TOP float浮动:设置块元素的浮动效果.可选常用到参数left.

前端开发中常用的CSS选择器解析(一)

你也许已经掌握了id.class.后台选择器这些基本的css选择器.但这远远不是css的全部.下面向大家系统的介绍css中最常用的选择器,包括我们最头痛的浏览器兼容性问题.掌握了它们,才能真正领略css的巨大灵活性. 1.* * { margin: 0; padding: 0; } 星状选择符会在页面上的每一个元素上起作用.web设计者经常用它将页面中所有元素的margin和padding设置为0. *选择符也可以在子选择器中使用. #container * { border: 1px soli