2012 年二月 一 二 三 四 五 六 日 « 十一 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 近期评论
Twitter
- vtt格式的字幕,开发html5版的acfun完全可以。。
- 5000多行JS。make。洗洗睡罢,明天接着看。
- @kentzhu IPV6??
- 升级最新版MAC QQ,然后,找不到查看聊天记录的按键了。
- nginx里的client_max_body_size要肿么理解呢??
- 新版Twitter是不是使用了第三方CDN?
- @Prower 这叫新浪siri。。
- @Prower 好多苹果广告。。最后每人拿个iphone走了。萌妹子死得太早了。
- PyCharm 的确不错,多谢@slene推荐。
- 太恐怖了,两个IE 6下的页面显示不一样。
- @Prower http://t.co/ItA2x5ZJ是跳转页面,没有设置charset,京东使用gb2312字符编码,而Chrome默认字符为utf-8。所以乱码。
- 围观对喷。。
- 断网了呀。
- @Prower 天气热了,冰箱就要用了。。
- 升级ipod touch后,里面的safari支持position:fixed;属性啦。。
- 牙齿好痛啊。。莫非又长智齿了。
- @Prower 网站用GOOGLE统计是亮点。
- @Prower 靠!靠!靠靠靠。
- QQ邮箱里的记事本蛮好用啊,什么时候能开放API呢。。
- @Prower 真相大白于天下了吧。害得我特别发了个博文测试。
分类目录
标签
asp.net background-attachment CC coolcode CSS CSS3 CSS背景 ecshop ecshop 2.7.1 ftp ftputil google Google App Engin Google App Engine Launcher iis 7 ip iPod touch linux php php 5.3 php 5.3.2 power Python runcode session ubuntu UltraEdit windows 7 wordPress 七夕 主题 亚克西 修改密码 商务中国 心神不宁 总结 故宫 林大饼子 清明 清明上河图 生日 站点地图 系统 网站 腾讯微博网友链接
链接表
分类目录归档:CSS
常用布局
<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>常用布局</title> <style type="text/css"> body {margin:0;padding:0;background:url("bg2.png") repeat-x;} p, h1 {margin:0;padding:0;text-align:center;} h1 {text-align:left;color:#FFFFFF;} #header {height:90px;background:url("bg.png") repeat-y center;margin:0 auto;display:table;width:100%;} #page {width:700px;height:500px;background:#2CDA4A;margin:0 auto;} #logo {width:700px;margin:0 auto;} </style> </head> <body> <div id="header"> <div id="logo"> <h1>头部内容</h1> </div> </div> … 继续阅读
一个CSS
头部图片无限收缩。不会出现空白。 <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>onecss</title> <style type="text/css"> body {margin:0;padding:0;} #head {height:151px;width:100%;background:url(http://xnny.net/images/h151_bg.png) repeat-x scroll 0 0;min-width:800px;} #logo {height:151px;width:800px;border:solid #000 1px;margin:0 auto;} </style> </head> <body> <div id="head"> <div id="logo"></div> </div> </body> </html>
让Adobe Dreamweaver CS4支持CSS3语法高亮
CSS3相比CSS2增加了更多的标记与效果,但Adobe Dreamweaver CS4还只支持CSS2的语法高亮。 我们可以通过Adobe Extension Manager CS4来为Dreamweaver扩展CSS3相关功能,使其能支持语法高亮。 Adobe Extension Manager CS4破解版:http://www.sz1001.net/soft/39093.htm CSS3扩展下载地址,http://www.brsbox.com/filebox/down/fc/f6688969368bd251895b1b1bec815165 下载后,用Adobe Extension Manager加载安装就可以了。
全部放在一张图里
一个访问量非常大的网站,如果背景图片都是一张一张加载,每多一张图片,客户端就会向多服务器发送一个请求。服务器会有更多的负担。 所以现在的大型门户网站都开始把小的背景图片集合在一张图片里。这样只一次下载就可以了。然后使用背景 图片的background-position属性,对要显示的部分进行定位。这真是个非常好的细节。 背景图片的background-position:X坐标 Y坐标。通常可以写成一行:background:url(hi.png) repeat-x 0px 0px; 这种技术叫“CSS Sprites”
CSS 伪类
a:link {color: #FF0000} /* 未访问的链接 */ a:visited {color: #00FF00} /* 已访问的链接 */ a:hover {color: #FF00FF} /* 鼠标移动到链接上 */ a:active {color: #0000FF} /* 选定的链接 */