方法1:#div1{ width:200px; height:200px; background:green; position:absolute; left:0; top:0; right:0; bottom:0; margin:auto;}方法2:#div1{ width:4...
分类:
其他好文 时间:
2014-10-20 23:17:59
阅读次数:
222
一、效果图。二、HTML+CSS代码。<style>.box{width:800px;margin:90pxauto;}.btn{padding:5px10px;color:#fff;background:#ff6600;cursor:pointer;font-size:16px;border-radius:5px;}.list{position:relative;margin-top:20px;}.listli{width:50px;height:50px;position..
分类:
Web程序 时间:
2014-10-20 17:34:33
阅读次数:
311
处理方式但是会让页面上的relative 和 position 定位都变成 fixed 定位用expression 可以让ie实现页面固定,但是是设置absolute实现,会出现抖动,通过 设置background-image 解决* html,* html body{background-imag...
分类:
其他好文 时间:
2014-10-20 16:34:07
阅读次数:
152
<!doctype html> <html> <head> ?? ?<title> ?? ??? ?幻灯片效果联系 ?? ?</title> ?? ?<style type="text/css"> ?? ??? ?body{background-color: #373737;} ?? ??? ?body, ul, li, a...
分类:
编程语言 时间:
2014-10-20 15:29:57
阅读次数:
189
1、统计一下插入的数据总数SELECT COUNT(giftCertificateId) AS number FROM gift_certificate WHERE giftCertificateNo LIKE 'boc%';SELECT giftCertificateId, COUNT(gc.`g...
分类:
数据库 时间:
2014-10-20 13:25:33
阅读次数:
174
根据FF和IE对一些符号识别的差异,我们可以单独对FF以及IE定义样式,例子:区别IE6与FF: background:orange;*background:blue; 区别IE6与IE7: background:green!important;background:blue; 区别IE7与...
分类:
Web程序 时间:
2014-10-20 09:54:55
阅读次数:
235
background:背景(写法 颜色 图片 位置 平铺)background-color:背景颜色background-images:背景图片background-position:背景图片位置(允许负值conter left right top bottom 也可为像素值)background-...
分类:
Web程序 时间:
2014-10-20 08:39:26
阅读次数:
205
每天一个JavaScript实例-html5拖拽
#drop{
width:300px;
height:200px;
background-color:#f00;
padding:5px;
border:2px solid #000;
}
#item{
width:100px;
height:100px;
background-color:#ff0;
padding...
分类:
编程语言 时间:
2014-10-19 23:24:36
阅读次数:
369
============问题描述============ android:background="#ffffff"其他手机手机背景都是白色,三星却是黑色的。怎么办 ============解决方案1============...
分类:
移动开发 时间:
2014-10-19 23:08:26
阅读次数:
227
IPhoneOS有没有垃圾回收?autorelease和垃圾回收制(gc)有什么关系?没有。autorelease只是延迟释放,gc是每隔一段时间询问程序,看是否有无指针指向的对象,若有,就将它回收。他们
两者没有什么关系。
分类:
其他好文 时间:
2014-10-19 01:31:13
阅读次数:
189