展会信息港展会大全

css 利用父类定义子容器左右边框
来源:互联网   发布日期:2016-03-25 15:56:45   浏览:2060次  

导读:head meta http-equiv=Content-Type content=text/html; charset=gb2312 / style #left .difference .content { width:668px;/*690px*/ padding: 10px; border-left:1px solid #CCCCCC; border-right:1px solid #CCCCCC; color:#5F5F5F; } /style /head body...

<head>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

<style>

#left .difference .content

{

width:668px;/*690px*/

padding: 10px;

border-left:1px solid #CCCCCC;

border-right:1px solid #CCCCCC;

color:#5F5F5F;

}

</style>

</head>

<body>

<div id="left">

<div class="differentce">

<div class="content">111cn.net</div>

</div>

</div>

</body>

</html>www.111cn.net原创,转载注明

赞助本站

人工智能实验室

相关热词: 开发 编程 android

AiLab云推荐
展开

热门栏目HotCates

Copyright © 2010-2024 AiLab Team. 人工智能实验室 版权所有    关于我们 | 联系我们 | 广告服务 | 公司动态 | 免责声明 | 隐私条款 | 工作机会 | 展会港