61,129
社区成员




ul {
width:300px;
margin:0;
padding:0;
list-style:none;
overflow:hidden;
}
li {
width:150px;
loat:left;
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title> new document </title>
<meta name="generator" content="editplus" />
<meta name="author" content="Gao YiXiang" />
<meta name="email" content="yixianggao@126.com" />
<meta name="keywords" content="javascript dhtml dom" />
<meta name="description" content="I love web development." />
<style type="text/css">
ul
{
width: 300px;
margin: 0px 0px 0px 0px;
}
li
{
float: left;
width: 150px;
background-color: #ffff00;
}
</style>
</head>
<body>
<ul>
<li>a. United States</li>
<li>b. Russia</li>
<li>c. China</li>
<li>d. UK</li>
</ul>
</body>
</html>