[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;}查看更多关于Dreanweaver里显示跟在浏览器中显示不一样,不知道哪里错了,div加不上边框_html/cs的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did104488