好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

菜鸟联系百度,希望大家指导!!_html/css_WEB-ITnose

菜鸟联系百度,希望大家指导!!目前在学习html和css,页面中有交互行为的都不涉及,目前的计划就是将页面给拼出来。。

首先对可能会看完我写的代码的大神们表示感谢:



以下代码为图片中用红线框住的部分(ps:太弱了,这么点写了好久)






百度新闻页

body{margin:0 auto; padding:0; font:12px 宋体; background:#fff;}
h1,h2,h3,ul,li,p,img,form{padding:0; margin:0; list-style:none;}
.clear{clear:both;}
a:link{text-decoration:underline; color:#0000cc ;}a:visited {text-decoration:none ; color:#0000cc ;}a:hover {text-decoration:underline ; color:#0000cc ;}a:active {text-decoration:none ; color:#0000cc ;}

/*框架部分开始*/

#wrapper{width:985px; margin:0 auto; padding-top:28px;min-height:100%;}

/*绝对定位顶部导航*/
.top_nav{height:14px;padding-top:7px;position:fixed; top:0; right:5px;}
.top_nav a{padding-right:5px; }
.top_nav span{display:inline-block; width:1px; height:10px; background:#999999;margin-right:5px;}

/*头部开始*/
#header{}
.logo{width:152px; height:54px; float:left;}
.logo img{width:149px; height:49px; padding-top:5px;}
.search{float:left;}
.search p{}
.search p a{ padding-right:13px; font-size:14px;}
form a{padding-right:8px;}
form span{display:inline-block; width:1px; height:11px; background:#666666; margin-right:8px;}
.tab{margin-top:19px; height:27px;font-size:16px; color:#000;}
.tab ul{margin-left:1px;}
.tab ul li{float:left; width:49px; border-bottom:4px solid #dedede;}
.tab ul li a:hover{border-bottom:4px solid #336699;}







百度新闻无线版 百度首页 登陆 注册

查看更多关于菜鸟联系百度,希望大家指导!!_html/css_WEB-ITnose的详细内容...

  阅读:31次