日期:2014-05-16  浏览次数:20921 次

div浮动问题 就差2步 各位大哥大姐路过帮我看看 先谢过


下面为网页源代码:帮我改进下浮动和图片差不多就行  直到此时还想的头痛希望你们帮帮忙看看 谢谢

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style> 
body 
{
margin:0px;
padding:0px;
font-weight:
font: 12px/150% Arial, Verdana, "宋体"; background:#fff;
color: #666;
}

#img-2014,#search-2014,#mysy-2014,#settleup-2014
{
border-style:solid;
border-color:#F00;
float:left;
padding-left:20px;
}
#search
{
border-style:solid;
border-color:#FF0;
}
.form,#advancesearch
{
border-style:solid;
}

#logo-2014
{
width:100%;
height:90px;
border-style:solid;
clear:both;
}
#nav-2014
{
border-style:solid;
}

div
{
display: block; 
margin:0px;
padding:0px;
}
</style>
</head>
 
<body>
<div id="header-2014">
<div class="w" id="logo-2014">
<div id="img-2014">
         <a href="#" hidefocus="true"><b></b><img src="http://misc.360buyimg.com/lib/img/e/logo-201305.png" width="270" height="60" 
            alt="京东"></a>
        </div>

<div id="search-2014">
         <div id="search">
<div class="form">
<input type="text" class="text" id="key">
<input type="button" value="搜索"  width="580px" class="button" onclick="#">
</div>
<div id="advancesearch" style="height:20px; width:20px; font-size:10px;"><a href="#" target="_blank">高级搜索</a></div>
            </div>
            <div id="hotwords">
             <strong>热么搜索:
                 <a href="#" target="_blank">睡前故事</a>
                    <a href="#" target="_blank">旅行摄影</a>
                    <a href="#" target="_blank">四大名著</a>
                    <a href="#" target="_blank">来电情缘</a>
                    <a href="#" target="_blank">操蛋人生</a>
                </strong>
      &nb