案例:CSS案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
<html>
3
<head>
4
<style>
5
input[type="text"]
6
{
7
  width:150px;
8
  display:block;
9
  margin-bottom:10px;
10
  background-color:yellow;
11
  font-family: Verdana, Arial;
12
}
13
14
input[type="button"]
15
{
16
  width:120px;
17
  margin-left:35px;
18
  display:block;
19
  font-family: Verdana, Arial;
20
}
21
</style>
22
</head>
23
<body>
24
25
<form name="input" action="" method="get">
26
<input type="text" name="Name" value="Bill" size="20">
27
<input type="text" name="Name" value="Gates" size="20">
28
<input type="button" value="Example Button">
29
30
</form>
31
</body>
32
</html>
33