Surface亏损又如何?" title="拦截iPad进军企业市场 Surface亏损又如何?" width="550" style="margin:0px 0px 16px; padding:0px; border:0px; list-style:none; text-align:center; text-indent:0px">
日前,微软发布的2015财年第一财季财报显示,其Surf...
分类:
其他好文 时间:
2014-11-01 01:04:03
阅读次数:
303
背景input css样式:{ height:50px;width:386px;border:0;position:absolute;top:0;left:0; padding:0px; line-height:50px;font-size:14px;.b...
分类:
其他好文 时间:
2014-10-31 19:00:02
阅读次数:
143
每天一个JavaScript实例-点击图片显示大图添加鼠标操作
img{padding:5px;width:100px;height:auto;}
#outer{
width:100%;
height:100%;
}
.overlay{
background-color:#000;
opacity: .7;
filter:alpha(opacity=70);
po...
分类:
编程语言 时间:
2014-10-31 17:19:52
阅读次数:
152
每天一个JavaScript实例-检测表单数据
[role="alert"]{
background-color: #fcc;
font-weight: bold;
padding:5px;
border:1px dashed #000;
}
div{
margin:10px 0;
padding:5px;
width:400px;
background-c...
分类:
编程语言 时间:
2014-10-31 15:48:28
阅读次数:
180
上中下布局是最基本的布局方式,本例假设用户屏幕分辨率为800*600像素。
上中下布局
body{
background: #42413C ;
margin: 0...
分类:
Web程序 时间:
2014-10-31 13:53:12
阅读次数:
418
.ideal-btn{ padding:1px 28px 2px; line-height:31px; background-color: #2ecc71; border: 1px solid #2ecc71; /* color: #fff;*/ padding: ...
分类:
其他好文 时间:
2014-10-31 11:33:37
阅读次数:
240
1、绝对定位法(最易理解)左右两栏采用绝对定位,分别固定于页面的左右两侧,中间的主体栏用左右margin值撑开距离。于是实现了三栏自适应布局。1 html,body{margin:0; height:100%;}2 #left,#right{position:absolute; to...
分类:
其他好文 时间:
2014-10-31 09:58:50
阅读次数:
213
其实在css样式里面能够实现元素居中的方法有很多,比如使用margin:0 auto;或者 text-align:center;但是还有一种更简单的办法,效率也很快,举个例子:你好,我现在想让span标签整体在div里面左右居中,怎么办?实现办法就是给div加一个样式 style="text-al....
分类:
其他好文 时间:
2014-10-30 22:20:56
阅读次数:
222
作者:zhanhailiang 日期:2014-10-30
问题场景
在写样式时经常需要用到非ASCII字符的属性值,如下:
.hot_list .sign_discount:before {
content: "满减";
padding: 0 8px;
margin-right: 7px;
font-size: 12px;
line-...
分类:
Web程序 时间:
2014-10-30 20:58:37
阅读次数:
201
E6.0,ie7.0与Firefox的CSS兼容性问题1.DOCTYPE影响CSS处理 2.FF:div设置margin-left,margin-right为auto时已经居中,IE不行 3.FF:body设置text-align时,div需要设置margin:auto(主要是margin-le.....
分类:
Web程序 时间:
2014-10-30 19:04:08
阅读次数:
264