新建的页面总是不靠左对齐,就算使用了float:left页面不行
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>按钮分配</title>
<script src="../../skins/js/miniui_net v3.7/scripts/boot.js" type="text/javascript"></script>
<style type="text/css">
html, body {
margin:0px;
padding:0px;
overflow:hidden;
border:none;
}
.btn_All {
width:100%;
height:100%;
}
.btn_All ul {
list-style: none;
}
.btn_All ul li {
float:left;
margin:2px 2px;
width:100px;
height:32px;
border:1px solid red;
}
</style>
</head>
<body>
<div class="btn_All">
<ul id="MyHtml">
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
<li>5</li>
<li>6</li>
<li>7</li>
<li>8</li>
<li>9</li>
<li>10</li>
</ul>
</div>
</body>
</html>
<script type="text/javascript">
mini.parse();
</script>
|