2016年11月10日
摘要: 1.CSS 重置 基本的CSS重置是网络上最常见的代码片段. 这是我自己定制的重置代码,它基于 Eric Meyer’s reset codes。里面有一些图片的设定以及为所有的核心元素定义边框, 保持适当的marings 和 padding. 2.经典的 CSS Clearfix 2011年更新 阅读全文
posted @ 2016-11-10 14:01 土dou 阅读(199) 评论(0) 推荐(0) 编辑
摘要: /* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ html, body, div, span, applet, object, iframe, h1, h2, h 阅读全文
posted @ 2016-11-10 13:48 土dou 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 恢复内容开始 1.代码段: <head><meta charset="UTF-8"><title>控制表单多选框可供选择的个数</title><meta http-equiv="content-type" content="text/html;charset=gb2312"><script lang 阅读全文
posted @ 2016-11-10 10:27 土dou 阅读(291) 评论(0) 推荐(0) 编辑
摘要: 1.代码部分: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title> <style type="text/css"> html{ height: 100%; } body{ posit 阅读全文
posted @ 2016-11-10 10:09 土dou 阅读(184) 评论(0) 推荐(0) 编辑