最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
当前位置: 首页 - 科技 - 知识百科 - 正文

index.css文件查看这些代码_html/css

来源:动视网 责编:小采 时间:2020-11-27 16:22:50
文档

index.css文件查看这些代码_html/css

index.css文件查看这些代码_html/css_WEB-ITnose:.clr { clear: both; width: 0px; height: 0px; overflow: hidden; } #container{ margin: 0 auto; width:1002px; } #header{ height: 128px; background: gray url(./top_bg.jpg); } #nav li { width: 90px; margin-right: 1px; float:le
推荐度:
导读index.css文件查看这些代码_html/css_WEB-ITnose:.clr { clear: both; width: 0px; height: 0px; overflow: hidden; } #container{ margin: 0 auto; width:1002px; } #header{ height: 128px; background: gray url(./top_bg.jpg); } #nav li { width: 90px; margin-right: 1px; float:le


.clr {

clear: both;

width: 0px;

height: 0px;

overflow: hidden;

}


#container{

margin: 0 auto;

width:1002px;

}

#header{

height: 128px;

background: gray url(./top_bg.jpg);

}


#nav li {

width: 90px;

margin-right: 1px;

float:left;

}


#nav a {

/*font-size: 16px;

line-height: 37px;

font-family: '微软雅黑';*/

/*设置文字居中*/

font:16px/37px '微软雅黑','黑体',sans-serif;

color:#363636;

display: block;

width:90px;

height: 37px;

text-align: center;

}


#nav a:hover {

color:white;

background: url(./nav_on.gif);

}


#banner {

margin: 6px 0;

}


#main{

}


#lside {

height: 480px;

width: 694px;

border: 1px solid #EEE;

border-radius:5px;

float: left;

border-top:none;

}


.subtitle {

height: 37px;

background: gray url(./index_main_top_bg.gif);

}


.subtitle img {

margin:5px 0 0 10px;

float: left;

}


.subtitle h1 {

color: #151515; /*ie的颜色兼容*/

float: left;

margin-left: 10px;

font:16px/37px 'Microsoft Yahei' , SimHei , sans-serif;

}


.subtitle a {

display: block;

color: #888;

font: 12px/37px SimSun,serif;

float:right;

}


.four {

width: 326px;

height: 200px;

background: #EEE;

margin: 10px;

float: left;

}


.four img {

float: left;

margin-left: 10px;

padding: 6px;

background: white;

}


.four ul{

float: left;

margin-left: 10px;

}


.four li {

background: url(./service_intro_bg.gif) no-repeat;

padding-left: 10px;

height: 20px;

}

.four a {

font-size: 12px; /*ie的文字大小兼容*/

color:#888;

}


.four a:visited {

color:#808080;

}


.four a:hover{

color: #FF832C;

}


.four h2 {

color: #A0A0A0;

margin: 6px 0 6px 10px;

font-size:16px;

font-family: 'Microsoft Yahei' , SimHei , sans-serif;

}


#rside {

width: 294px;

float:right;

}


#art {

background: #EEE;

margin-top: 1px;

padding-top: 10px;

}

#art a {

font-size: 12px; /*ie的文字大小兼容*/

line-height: 29px;

color: #888;

display: block;

height: 29px;

padding-left: 30px;

background: url(./article_head.gif) no-repeat;

}


#art a:hover{

color: #FF832C;

background: url(./article_on_bg.gif);

}


#contact {

margin-top: 1px;

height: 249px;

background: #EEE;

}


#footer {

margin-top: 15px;

height: 120px;

}


#footer ul {

height: 40px;

background: #EEE;

}

#footer li {

font-size: 12px; /*ie的文字大小兼容*/

float: left;

margin-top: 15px;

margin-right: 10px;

}


#footer address {

margin-top: 10px;

font-size: 12px; /*ie的文字大小兼容*/

font-family: '微软雅黑',sans-serif;

}

文档

index.css文件查看这些代码_html/css

index.css文件查看这些代码_html/css_WEB-ITnose:.clr { clear: both; width: 0px; height: 0px; overflow: hidden; } #container{ margin: 0 auto; width:1002px; } #header{ height: 128px; background: gray url(./top_bg.jpg); } #nav li { width: 90px; margin-right: 1px; float:le
推荐度:
标签: 源代码 index css
  • 热门焦点

最新推荐

猜你喜欢

热门推荐

专题
Top