この表示効果が欲しい [img=http://b304.photo.store.qq.com/psb?/V12O1gKZ10Scjj/UCz9sb776cJ6STaK6hFMaE5wi000A8G0Y4UqwjaA*.w!/b/YVBPNLXLcgAAYi79PrXYcgAA][/img]結果はこんな感じです [img=http://b304.photo.store.qq.com/psb?/V12O1gKZ10Scjj/9gMg6IaicVievcei*IPPrs00r2gm4zvzrCt9szQkcds!/b/YXngO7UpcwAAYpP6PrVycgAA][/img] ソースコード "> My JSP 'index.jsp' starting page $(".navitems li a").click(function(){ $(".navitems li a").css("background","url(images/libg.png)"); }); div{ border:1px solid #666} .newsbody{ width:1000px; margin:0 auto;} .content{ width:998px; margin:0 auto; padding-top:10px; border:1px solid #999; border-bottom:none} .nav{ background:url(images/navbg.png) top left;width:1000px; height:30px; line-height:0px; overflow:hidden; margin: 0 auto;} .navitems{ list-style:none;} .navitems li{ float:left; margin-right:10px; margin-left:0px; border-right:#FFC; border:1px;} .navitems li a{ text-align:center; color:#FFF; text-decoration:none; font-size:15px; vertical-align:middle} .navitems li a:hover{text-decoration:underline}; .hotnews{ width:700px; height:400px;} .hotnews div{ float:left} .banner{ position:relative; left:0px; width:700px; height:30px; background:url(images/banner.png); text-align:left; line-height:30px; overflow: hidden; background-color: #FFFFFF;} .hotnewsitems{ width:450px; height:360px; position:relative; left:0px; margin-top:10px; overflow:hidden} .news{ list-style:circle;} .news li{ margin-top:10px;} .news li a{ text-decoration:none;} .news li a:hover{ text-decoration:underline;} .gundong{ margin-left:10px; width:230px; height:195px; position:relative; margin-top:10px;} .hotvideo{ width:230px; height:155px; margin-left:10px; margin-top:10px;} 新闻首页 国内 国际 军事 财经 互联网 房产 汽车 体育 娱乐 游戏 体育 女人 科技 社会 视频 图片 人物 最新 定制 更多>> 焦点新闻>> 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 adf 问题在这 ディスカッションに返信 (解決策) "> My JSP 'index.jsp' starting page $(".navitems li a").click(function(){ $(".navitems li a").css("background","url(images/libg.png)"); }); .clear { *zoom:1; }.clear:before, .clear:after{ display:block; content:'clear'; clear:both; height:0; overflow:hidden;} div{ border:1px solid #666} .newsbody{ width:1000px; margin:0 auto;} .content{ width:998px; margin:0 auto; padding-top:10px; border:1px solid #999; border-bottom:none;} .nav{ background:url(images/navbg.png) top left;width:1000px; height:30px; line-height:0px; overflow:hidden; margin: 0 auto;} .navitems{ list-style:none;} .navitems li{ float:left; margin-right:10px; margin-left:0px; border-right:#FFC; border:1px;} .navitems li a{ text-align:center; color:#FFF; text-decoration:none; font-size:15px; vertical-align:middle} .navitems li a:hover{text-decoration:underline}; .hotnews{ width:700px; height:400px; } .banner{ position:relative; left:0px; width:700px; height:30px; background:url(images/banner.png); text-align:left; line-height:30px; overflow: hidden; background-color: #FFFFFF;} .hotnewsitems{ float:left;width:450px; height:360px; position:relative; left:0px; margin-top:10px; overflow:hidden} .news{ list-style:circle;} .news li{ margin-top:10px;} .news li a{ text-decoration:none;} .news li a:hover{ text-decoration:underline;} .gundong{ margin-left:460px; _margin-left:457px; width:230px; height:195px; position:relative; margin-top:10px;} .hotvideo{ margin-left:460px;_margin-left:457px; width:230px; height:155px; margin-top:10px;} 新闻首页 国内 国际 军事 财经 互联网 房产 汽车 体育 娱乐 游戏 体育 女人 科技 社会 视频 图片 人物 最新 定制 更多>> 焦点新闻>> 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 adf 问题在这 投稿者は、この問題をシミュレートするために を試みました div { border:1px solid #000; } .a { width:450px; height:300px; float:left; } .b { margin-left:460px; _margin-left:457px; width:100px; height:200px; } .c { margin-top:10px; margin-left:460px; _margin-left:457px; width:100px; height:50px; } "> My JSP 'index.jsp' starting page $(".navitems li a").click(function(){ $(".navitems li a").css("background","url(images/libg.png)"); }); .clear { *zoom:1; }.clear:before, .clear:after{ display:block; content:'clear'; clear:both; height:0; overflow:hidden;} div{ border:1px solid #666} .newsbody{ width:1000px; margin:0 auto;} .content{ width:998px; margin:0 auto; padding-top:10px; border:1px solid #999; border-bottom:none;} .nav{ background:url(images/navbg.png) top left;width:1000px; height:30px; line-height:0px; overflow:hidden; margin: 0 auto;} .navitems{ list-style:none;} .navitems li{ float:left; margin-right:10px; margin-left:0px; border-right:#FFC; border:1px;} .navitems li a{ text-align:center; color:#FFF; text-decoration:none; font-size:15px; vertical-align:middle} .navitems li a:hover{text-decoration:underline}; .hotnews{ width:700px; height:400px; } .banner{ position:relative; left:0px; width:700px; height:30px; background:url(images/banner.png); text-align:left; line-height:30px; overflow: hidden; background-color: #FFFFFF;} .hotnewsitems{ float:left;width:450px; height:360px; position:relative; left:0px; margin-top:10px; overflow:hidden} .news{ list-style:circle;} .news li{ margin-top:10px;} .news li a{ text-decoration:none;} .news li a:hover{ text-decoration:underline;} .gundong{ margin-left:460px;_margin-left:457px; width:230px; height:195px; position:relative; margin-top:10px;} .hotvideo{ margin-left:460px;_margin-left:457px; width:230px; height:155px; margin-top:10px;} 新闻首页 国内 国际 军事 财经 互联网 房产 汽车 体育 娱乐 游戏 体育 女人 科技 社会 视频 图片 人物 最新 定制 更多>> 焦点新闻>> 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 外交部回应朝鲜扣押中国渔民:属渔业案件 adf 问题在这 この問題をシミュレートしてみてください div { border:1px solid #000; } .a { width:450px; height:300px; float:left; } .b { margin-left:460px; _margin-left:457px; width:100px; height:200px; } .c { margin-top:10px; margin-left:460px; _margin-left:457px; width:100px; height:50px; } 私のコードのどこに問題があるかわかりますか? hotnews divに何か問題があるような気がしますが、境界線を追加することはできませんか? 写真は見えません