web前端基础CSS------美化页面“footer”部分

一,实验代码

html 复制代码
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>关于我们</title>
		
		<style type="text/css">
			#footer{
			       margin: 10px 0px;
				   background: #f5f5f5;
				   border: top 1px solid #eee ;
			}
			#footerCon{
				width: 1190px;
				margin: 10px auto 0px;
			}
			#footerCon #links{
				border-bottom: 1px solid #eee;
				overflow: hidden;
				padding-bottom: 20px;
			}
			#footerCon #links dl{
				float: left;
				width: 200px;
				margin-right: 52px;
				overflow: hidden;
			}
			#footerCon #links dl dt{
				color: #646464;
				padding-bottom: 10px;
				font-weight: 700;
				padding-left: 40px;
				font-size: 16px;
				
			}
			#footerCon #links dl dd{
				line-height: 25px;
				
			}
			#footerCon #otherLinks{
				height: 30px;
				line-height: 30px;
				text-align: center;
			}
			#footerCon #copyRight{
				line-height: 30px;
				text-align: center;
			}
			
			a {
				text-decoration: none;
				color: deepskyblue;
			}
			a:hover{
				color: red;
			}
			
			
		</style>
	</head>
	<body>
		<div id="footer">
			<div id="footerCon">
				<div id="links">
				
				<dl>
					<dt>用户指南</dt>
					<dd><a href="guide.html">新手指南</a></dd>
					<dd><a href="memberLevel.html">会员积分</a></dd>
					<dd><a href="#">常见问题</a></dd>
					<dd><a href="feedback.html">反馈调查</a></dd>
				</dl>
				     
					<dl>
						 <dt>品牌服务</dt>
						 <dd><a href="#">闪电配送</a></dd>
						 <dd><a href="#">快捷支付</a></dd>
						 <dd><a href="#">售后保障</a></dd>
					 </dl>
					 
					 <dl>
						 <dt>商家合作</dt>
						 <dd><a href="#">商家对接</a></dd>
						 <dd><a href="#">品牌资质</a></dd>
						 <dd><a href="#">进程流程</a></dd>
					 </dl>
					 
					 <dl>
					 	<dt>关于我们</dt>
					 	<dd><a href="#">平台简介</a></dd>
					 	<dd><a href="#">企业文化</a></dd>
					 	<dd><a href="#">经营模式</a></dd>
						<dd><a href="#">招贤纳士</a></dd>
					 </dl>
				</div>
				
				<div id="otherLinks">
					<a href="#">关于我们</a>
					<a href="#">购物指南</a>
					<a href="#">商家合作</a>
					<a href="#">联系我们</a>
					<a href="#">招贤纳士</a>
					<a href="#">反馈调查</a>
					<a href="#">反馈调查</a>
				</div>
				
				<div id="copyRight">
					Copyright &copy;2016 - 2026 MobileShop 版权所有| 消费者维权热线:
					408888888888
				</div>
			</div>
		</div>
	</body>
</html>

二、实验结果

相关推荐
brucelee1867 分钟前
OpenClaw 浏览器控制(Chrome MCP)完整教程
前端·chrome
ct97821 分钟前
React 状态管理方案深度对比
开发语言·前端·react
胡志辉的博客38 分钟前
深入浅出理解浏览器事件循环:从一道输出题讲到 Chrome 源码
前端·javascript·chrome·chromium·event loop
代码不加糖1 小时前
js中不会冒泡的事件有哪些?
前端·javascript·vue.js
懂懂tty1 小时前
Vue2与Vue3之间API差异
前端·javascript·vue.js
AI焦点1 小时前
跨越协议鸿沟:Tool Use状态机从Anthropic到OpenAI兼容体系的适配要点
前端·人工智能
Dxy12393102161 小时前
Python线程锁:为什么多线程会“打架“,以及怎么解决
开发语言·前端·python
海兰2 小时前
【web应用】Excel 项目数据自动化分析系统(AI 驱动分析)详细设计与部署指南(附源代码)
前端·人工智能·自动化·excel
2501_940041742 小时前
技术分享:高质量全栈开发提示词设计实践 —— 覆盖简单到复杂
前端·prompt
IT_陈寒2 小时前
Python的os.path.join居然能这么坑?
前端·人工智能·后端