最新文章专题视频专题问答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
问答文章1 问答文章501 问答文章1001 问答文章1501 问答文章2001 问答文章2501 问答文章3001 问答文章3501 问答文章4001 问答文章4501 问答文章5001 问答文章5501 问答文章6001 问答文章6501 问答文章7001 问答文章7501 问答文章8001 问答文章8501 问答文章9001 问答文章9501
当前位置: 首页 - 科技 - 知识百科 - 正文

DIV+CSS实操四:经管系网页内容模块内容添加(上)_html/css_WEB-ITnose

来源:懂视网 责编:小采 时间:2020-11-27 16:14:47
文档

DIV+CSS实操四:经管系网页内容模块内容添加(上)_html/css_WEB-ITnose

DIV+CSS实操四:经管系网页内容模块内容添加(上)_html/css_WEB-ITnose:我们继续接着DIV+CSS实操系列:DIV+CSS实操一:经管系网页总体模块布局,DIV+CSS实操二:经管系网页 添加导航栏和友情链接栏和DIV+CSS实操三:经管系网页内容模块添加标题栏和版权信息模块。今天我们就来给内容 模块添加内容,所有的内容都用超链接。 由于
推荐度:
导读DIV+CSS实操四:经管系网页内容模块内容添加(上)_html/css_WEB-ITnose:我们继续接着DIV+CSS实操系列:DIV+CSS实操一:经管系网页总体模块布局,DIV+CSS实操二:经管系网页 添加导航栏和友情链接栏和DIV+CSS实操三:经管系网页内容模块添加标题栏和版权信息模块。今天我们就来给内容 模块添加内容,所有的内容都用超链接。 由于
我们继续接着DIV+CSS实操系列:DIV+CSS实操一:经管系网页总体模块布局,DIV+CSS实操二:经管系网页

添加导航栏和友情链接栏和DIV+CSS实操三:经管系网页内容模块添加标题栏和版权信息模块。今天我们就来给内容

模块添加内容,所有的内容都用超链接。

由于内容部分较多,我会分两次添加,先来左半部分内容的添加:

HTML代码:

经管系Dreamweaver8 	
  • 本站首页
  • 本系概况
  • 教育教学
  • 科学研究
  • 招生就业
  • 学生工作
  • 党团建设
  • 考研升本
  • 实习基地
  • 经管动态
  • 通知公告
  • 常用服务
  • 唐山师范学院校历查询
  • 课程表查询
  • 期末成绩录入与查询
  • 论文检索[CNKI,万方,读秀]
  • 毕业论文格式及相关表格
  • 常用下载
  • 电子资源
  • 站内导航
    专业介绍 新生向导
    教授风采 学生社团
    课程建设 学子风采
    实践教学 招聘信息
    实习动态 求职指导
    学术活动 就业精英
    科研成果 考研专题
    扫一扫 经管动态 通知公告 招生就业 实习基地 学生工作 友情链接:
    教学资源网 | 中国大学 | 教育部 | 河北省教育厅 | 中国教育科研网 | 教育网河北主节点 | 慕课网 | 爱课程 | 南方周末 | 经济观察 | 中国企业家
    版权所有: 所在地址:
    CSS代码:
    /*第一次添加网页总体布局的代码*/* { margin:0px; 	padding:0px;}body { padding:0px; 	margin:0px; 	font-size:12px;}#top {	background-image: url(images/head.jpg);	background-repeat: no-repeat;	height: 120px;	width: 998px;	margin-right: auto;	margin-left: auto;}#nav {	background-image: url(images/n_nav_bg.gif);	background-repeat: repeat-x;	height: 37px;	width: 998px;	margin-right: auto;	margin-left: auto;}#adpic {	background-image: url(images/h4.jpg);	background-repeat: no-repeat;	height: 218px;	width: 998px;	margin-right: auto;	margin-left: auto;}#news {	height: 720px;	width: 998px;	margin-right: auto;	margin-left: auto;}#link {	background-image: url(images/n_title_bg.gif);	background-repeat: repeat-x;	height: 40px;	width: 998px;	margin-right: auto;	margin-left: auto;}#copyright {	background-color: #E2E2E2;	height: 80px;	width: 998px;	margin-top: 0px;	margin-right: auto;	margin-left: auto;	border-top-width: 5px;/*设置5像素的上边框*/	border-top-style: solid;	border-top-color: #006042;	margin-bottom: 0px;}#news #news_left {	float: left;	height: 720px;	width: 233px;	margin-right: 5px;}#news #news_mid {	float: left;	height: 720px;	width: 455px;	margin-right: 5px;}#news #news_right {	height: 720px;	width: 300px;	float: left;}#news #news_left #news_left_top {	height: 248px;	width: 233px;}#news #news_left #news_left_mid {	height: 240px;	width: 233px;}#news #news_left #news_left_bottom {	height: 232px;	width: 233px;}#news #news_mid #news_mid_top {	height: 488px;	width: 455px;}#news #news_mid #news_mid_bottom {	height: 232px;	width: 455px;}#news #news_right #news_right_top {	height: 248px;	width: 300px;	background-color:#FFFF00;}#news #news_right #news_right_mid {	height: 240px;	width: 300px;	background-color:#00FFFF;}#news #news_right #news_right_bottom {	height: 232px;	width: 300px;	background-color:#FF00FF;}/*第二次添加导航栏和友情链接栏的代码,下拉菜单我们后面做*/a:link { /*伪类选择页面中全部的超链接标签的未访问的链接状态*/ color:#000000; 	text-decoration:none;}a:visited { /*伪类选择页面中全部的超链接标签的已访问的链接状态*/ color:#000000; 	text-decoration:none;}a:hover{ /*伪类选择页面中全部的超链接标签的鼠标悬停的状态*/	color:#FF0000;	text-decoration:none;	font-weight: bold;	}#nav li {/*后代选择器选择div中行内元素li的设置*/	float: left;	line-height: 37px;	list-style-type:none;	text-align:center;	}#link #link_left {	font-family: "微软雅黑";	font-size: 14px;	line-height: 32px;	font-weight: bold;	color: #009966;	float: left;	height: 32px;	width: 80px;	padding-left: 10px;}#link #link_right {	line-height: 32px;	float: left;	height: 32px;	width: 908px;}#nav a:link{/*后代选择器选择div中行内选择a设置未访问的链接状态*/	color:#FFFFFF;	text-decoration:none;	font-family: "微软雅黑";	font-size: 14px;	font-weight: bold;	width:89px;	height:37px;	display:block;}#nav a:visited{/*后代选择器选择div中行内选择a设置已访问的链接状态*/	color:#FFFFFF;	text-decoration:none;	font-family: "微软雅黑";	font-size: 14px;	font-weight: bold;	width:89px;	height:37px;	display:block;}#nav a:hover{/*后代选择器选择div中行内选择a设置鼠标悬浮在链接的的状态*/	color:#FFFFFF;	text-decoration:none;	font-family: "微软雅黑";	font-size: 14px;	font-weight: bold;	background-color: #009966;	width:89px;	height:37px;	display:block;}/*第三次添加内容标题栏的代码*/img { /*消除图片的默认格式*/ border:none;}.news_left_titlebar {	background-repeat: no-repeat;	height: 31px;	width: 233px;	border-bottom-width: 1px;	border-bottom-style: dashed;	border-bottom-color: #CCCCCC;	background-color: #FFFFFF;	font-size: 14px;	line-height: 32px;	font-weight: bold;	color: #009966;}.news_left_titlebar img {/*设置图片的格式*/	float: left;	height: 14px;	width: 14px;	margin-top: 9px;	margin-right:5px;}.news_mid_titlebar {	background-image: url(images/n_title_bg.gif);	background-repeat: repeat-x;	height: 32px;	width: 445px;	font-size: 14px;	line-height: 32px;	font-weight: bold;	color: #009966;	padding-left: 10px;}.news_right_titlebar {	background-image: url(images/n_title_bg.gif);	background-repeat: repeat-x;	height: 32px;	width: 290px;	font-size: 14px;	line-height: 32px;	font-weight: bold;	color: #009966;	padding-left: 10px;}#copyright #copyright_top {	height: 20px;	width: 998px;	text-align:center;	line-height:20px;	padding-top:20px;}#copyright #copyright_bottom {	height: 20px;	width: 998px;	text-align:center;	line-height:20px;	padding-bottom:20px;}/*第四次代码左半部分内容的添加*/#news #news_left #news_left_top #news_left_top_content {	height: 210px;	width: 233px;	overflow: hidden;	padding-top:3px;	padding-bottom:3px;}#news #news_left #news_left_top #news_left_top_content li {	float: left;	height: 30px;	width: 233px; display:block;}#news #news_left #news_left_top #news_left_top_content a:link{	color:#999999;	font-family: "微软雅黑";	font-size: 14px;	font-weight: bold;	width:233px;	height:30px;	display:block; text-align:left;	vertical-align:middle;}#news #news_left #news_left_top #news_left_top_content a:visited{	color:#999999;	font-family: "微软雅黑";	font-size: 14px;	font-weight: bold;	width:233px;	height:30px;	display:block; text-align:left;	vertical-align:middle;}#news #news_left #news_left_top #news_left_top_content a:hover{	color:#FFFFFF;	font-family: "微软雅黑";	font-size: 14px;	font-weight: bold;	background-color: #009966;	width:233px;	height:30px;	display:block; text-align:left;	vertical-align:middle;}#news #news_left #news_left_mid #news_left_mid_content {	height: 196px;	width: 200px;	overflow: hidden;	padding-top:6px;	padding-bottom:6px;	padding-left:13px;	padding-right:20px;}#news #news_left #news_left_mid #news_left_mid_content a:link{	color:#999999;	font-family: "微软雅黑";	font-size: 14px;	font-weight: bold;	width:100px;	height:28px;	display:block;	text-align:center;	vertical-align:middle;}#news #news_left #news_left_mid #news_left_mid_content a:visited{	color:#999999;	font-family: "微软雅黑";	font-size: 14px;	font-weight: bold;	width:100px;	height:28px;	display:block;	text-align:center;	vertical-align:middle;}#news #news_left #news_left_mid #news_left_mid_content a:hover{	color:#FFFFFF;	font-family: "微软雅黑";	font-size: 14px;	font-weight: bold;	background-color: #009966;	width:100px;	height:28px;	display:block;	text-align:center;	vertical-align:middle;}
    运行的效果为:


    点击链接的效果:

    声明:本网页内容旨在传播知识,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。TEL:177 7030 7066 E-MAIL:11247931@qq.com

    文档

    DIV+CSS实操四:经管系网页内容模块内容添加(上)_html/css_WEB-ITnose

    DIV+CSS实操四:经管系网页内容模块内容添加(上)_html/css_WEB-ITnose:我们继续接着DIV+CSS实操系列:DIV+CSS实操一:经管系网页总体模块布局,DIV+CSS实操二:经管系网页 添加导航栏和友情链接栏和DIV+CSS实操三:经管系网页内容模块添加标题栏和版权信息模块。今天我们就来给内容 模块添加内容,所有的内容都用超链接。 由于
    推荐度:
    • 热门焦点

    最新推荐

    猜你喜欢

    热门推荐

    专题
    Top