<span>控制块状元素怎么是纵向的?不是应该横向吗?
</head><style><!--body{}#main{;}#logo{margin-top:50px;margin-left:120px;margin-bottom...
</head>
<style>
<!--
body{}
#main{
;}
#logo{margin-top:50px;
margin-left:120px;
margin-bottom:50px;
height:300px;
width:100%;
}
#nav
{width:100%;height26px;clear:both;background-repeat: repeat-x;
background-color:#1874CD;}
#nav span{front:14px;
display:block;}
#slide{height:500px;
width:100%;}
#end{height:500px;
width:100%;}
--></style>
<body>
<div id="main">
<div id="logo"><img src="装饰/1.gif"/></div>
<div id="nav">
<span>
<input type="text" id="formt" value="用户名" /> </span>
<span><input type="text" id="formt" value="密码" /></span>
<span><input type="button" id="formt" value="登录" /></span>
<span><a href="#">忘记密码?</a> </div></span>|
<span><div id="ditu"><a href="#">注册</a> </div> </span>
<span><div id="ditu"><a href="#"> </a> </div></span>
<span><div id="ditu"><a href="#">网站地图</a> </div></span>
</span>
</div>
<div id="slide"></div>
<div id="end"></div>
</div>
</body> 展开
<style>
<!--
body{}
#main{
;}
#logo{margin-top:50px;
margin-left:120px;
margin-bottom:50px;
height:300px;
width:100%;
}
#nav
{width:100%;height26px;clear:both;background-repeat: repeat-x;
background-color:#1874CD;}
#nav span{front:14px;
display:block;}
#slide{height:500px;
width:100%;}
#end{height:500px;
width:100%;}
--></style>
<body>
<div id="main">
<div id="logo"><img src="装饰/1.gif"/></div>
<div id="nav">
<span>
<input type="text" id="formt" value="用户名" /> </span>
<span><input type="text" id="formt" value="密码" /></span>
<span><input type="button" id="formt" value="登录" /></span>
<span><a href="#">忘记密码?</a> </div></span>|
<span><div id="ditu"><a href="#">注册</a> </div> </span>
<span><div id="ditu"><a href="#"> </a> </div></span>
<span><div id="ditu"><a href="#">网站地图</a> </div></span>
</span>
</div>
<div id="slide"></div>
<div id="end"></div>
</div>
</body> 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询