做人要低调
Friday, 11. August 2006, 03:30:25
I hate IE forever.
Tuesday, 8. August 2006, 07:05:22
Tuesday, 20. June 2006, 10:28:49
Tuesday, 16. May 2006, 08:16:34
<title>中文或其他双字节字符title</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Thursday, 11. May 2006, 02:45:37
* {
margin: 0;
padding: 0;
}
html, body {
height: 100%;
}
#wrapper {
min-height: 100%;
}
* html #wrapper {
height: 100%;
}
* {
margin: 0;
padding: 0;
}
html, body {
height: 100%;
text-align: center;
font: 12px/1.4 Verdana, sans-serif;
background: #f00;
}
#wrapper {
width: 770px;
min-height: 100%;
background: #ccc;
margin: auto;
text-align: left;
}
* html #wrapper {
height: 100%;
}
#header {
background: Green;
height: 40px;
}
#sidebar {
float: left;
width: 200px;
background: Gray;
}
#content-box {
float: right;
width: 570px;
background: Olive;
}
#footer {
height: 50px;
background: Background;
width:770px;
margin: auto;
}
#out-content {
padding-bottom: 50px;
}
#out-content:after {
clear: both;
display: block;
font: 1px/0px serif;
content: ".";
height: 0;
visibility: hidden;
}
* html #out-content {
height: 1%;
}
#footer {
height: 50px;
background: Background;
margin: -50px auto 0;
}
Friday, 28. April 2006, 16:40:13
label 主要是给表单组件增加可访问性设计的,一般我们都把 label 用在表单里。除以上方法,还可以直接用 label 套嵌整个表单组件和文本标签,如下面的例子:使用 LABEL 对象
HTML 4.0 规范引入了 LABEL 对象,您可以使用它来将文本与其他任何 HTML 对象或内部控件相关联。无论用户单击 LABEL 或者 HTML 对象,链接的 LABEL 和 HTML 对象在引发和接收事件时行为一致。要链接 LABEL 和 HTML 对象,请将 LABEL 的 FOR 属性设置为等于 HTML 对象的 ID 属性。
下列示例将 LABEL 控件与文本框相关联。当用户单击 LABEL 控件(或者按下 ALT+T 组合键)时,LABEL 控件会将焦点设置到文本框:<label for="txtInputBox"><u>T</u>ype value:</label> <input type="text" id="txtInputBox" name="txtInputBox" accesskey="t" />
<form action="..." method="post"> <p> <label> First Name <input type="text" name="firstname" /> </label> <label> <input type="text" name="lastname" /> Last Name</label> </p> </form>
Friday, 28. April 2006, 15:23:56
Wednesday, 26. April 2006, 14:04:20
Showing posts 1 - 10 of 22.
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
| ||||||
| 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 | 30 | |||||
虎MM的BLOG,无限122~
老姐的BLOG
黄小强的BLOG
蒋郁的BLOG
喜欢Tifa不?喜欢就进!
想系统学习xhtml css的人必看
小毅
佳佳
陈力