Home Web Front-end HTML Tutorial Rounded corner box implemented by div css compatible with ie6/ff/ch/op_html/css_WEB-ITnose

Rounded corner box implemented by div css compatible with ie6/ff/ch/op_html/css_WEB-ITnose

Jun 24, 2016 pm 12:27 PM

 

<!DOCTYPE html><html><head><title>青春不迷茫:寻梦时代的“蚁族”逆袭之旅- 职场管理专题-中国人力资源开发网-中人网 - 中国领先的人力资源门户,最佳HR学习成长平台</title><meta name="Keywords" content="蚁族 青春 梦想"><meta name="Description" content="“蚁族”一词并非一种昆虫族群。“蚁族”收入不高、工作不稳定、生活条件非常差,他们从村里的金凤凰变成了城市中的边缘人,成了没有话语权的弱势群体。然而,“蚁族”又充满着青春与梦想,谁又没年轻过?实现梦想,完成蜕变,更是蚁族需要去面对与挑战的。"><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"><style type="text/css">body {	color: black;	font-size: 12px;	margin: 0px;	padding: 0px;}img {	border: 0 none;}a {	color: blue;}a:hover {	color: gray;}div.bodyBox {	width: 960px;	margin: 0 auto;}.bgBox {	margin: 10px 0;	position: relative;	display: block;	zoom: 1;/*ie 触发haslayout*/}.bgBox .content {	border: 2px solid #a0a0a0;}.bgBox span.corner {	display: block;	position: absolute;	background-image: url("tpl/round.gif");	background-repeat: no-repeat;	background-color: white;	width: 10px;	height: 10px;	z-index: 2;}.bgBox .tl {	top: 0px;	left: 0px;}.bgBox .tr {	top: 0px;	right: 0px;	background-position: right 0;}.bgBox .bl {	bottom: 0px;	left: 0px;	background-position: bottom left;}.bgBox .br {	bottom: 0px;	right: 0px;	background-position: bottom right;}.bgBox .sideTop {	background: url(tpl/sideTop.gif) repeat-x 0 0;	zoom: 1;	z-index: 1;}.bgBox .sideBottom {	background: url(tpl/sideBottom.gif) repeat-x 0 bottom;	zoom: 1;	z-index: 1;}.bgBox .sideLeft {	padding: 25px;	background: url(tpl/sideLeft.gif) repeat-y left top;	zoom: 1;	z-index: 1;}.bgBox .sideRight {	background: url(tpl/sideRight.gif) repeat-y right top;	zoom: 1;	z-index: 1;}.bgBox .text {	color: yellow;}.w100p {	width: 100%;	display: block;	margin: 10px 0;}.clearfix:after {	content: ".";	display: block;	height: 0;	clear: both;	visibility: hidden;}.clearfix {	zoom: 1;}hr.clearHr {	clear: both;	float: none;	visibility: hidden;	width: 1px;	height: 1px;}div.titleDiv {	background: url("tpl/titleBG.jpg") no-repeat scroll 0 bottom transparent;	height: 65px;}div.titleDiv h1 {	margin-left: 100px;	font-weight: bold;	color: gray}h2.titleH2 a {	color: red!important;}h2.center {	text-align: center;}div.wh3 {	width: 290px;}div.wh2 {	width: 448px;}.floatLeft {	float: left;	margin-right: 10px;	display: block;}.floatRight {	float: right;	display: block;}</style></head><body><div class="bodyBox"> <img src="tpl/round.gif" class="w100p" height="200" />  <div class="titleDiv">    <h1>这是标题标题</h1>  </div>  <!--线框-->  <div class="bgBox"> <span  class="corner tl"></span><span   class="corner tr"></span><span   class="corner bl"></span><span   class="corner br"></span>    <div class="sideTop">      <div class="sideBottom">        <div class="sideRight">          <div class="sideLeft">             <!--内容-->                         <span style="font-size:20px;font-weight:bold;">导语:</span>kkkk导语导语导语导语导语导语            kkkk导语导语导语导语导语导语            kkkk导语导语导语导语导语导语            kkkk导语导语导语导语导语导语            kkkk导语导语导语导语导语导语            kkkk导语导语导语导语导语导语            kkkk导语导语导语导语导语导语            kkkk导语导语导语导语导语导语            <p>                         kkkk导语导语导语导语导语导语              kkkk导语导语导语导语导语导语              kkkk导语导语导语导语导语导语              kkkk导语导语导语导语导语导语              kkkk导语导语导语导语导语导语              kkkk导语导语导语导语导语导语              kkkk导语导语导语导语导语导语              kkkk导语导语导语导语导语导语 </p>            <p>                         kkkk导语导语导语导语导语导语              kkkk导语导语导语导语导语导语              kkkk导语导语导语导语导语导语              kkkk导语导语导语导语导语导语              kkkk导语导语导语导语导语导语              kkkk导语导语导语导语导语导语              kkkk导语导语导语导语导语导语              kkkk导语导语导语导语导语导语 </p>                        <!--内容-->           </div>        </div>      </div>    </div>  </div>  <!--线框-->    <div class="titleDiv w100p">    <h1>这是标题标题</h1>  </div>  <!--线框-->  <div class="bgBox"> <span  class="corner tl"></span><span   class="corner tr"></span><span   class="corner bl"></span><span   class="corner br"></span>    <div class="sideTop">      <div class="sideBottom">        <div class="sideRight">          <div class="sideLeft">             <!--内容-->                        <div class="floatLeft wh3"> <img src="tpl/round.gif" width="100%" height="100" />              <h2 class="center"><a href="kk.htm">上市房价</a></h2>              <p> 每位评委 <a href="">【详细】</a> </p>            </div>            <div class="floatLeft wh3"> <img src="tpl/round.gif" width="100%" height="100" />              <h2  class="center"><a href="kk.htm">上市房价</a></h2>              <p> 每位评委 <a href="">【详细】</a> </p>            </div>            <div class="floatLeft wh3" style="margin-right:0px;"> <img src="tpl/round.gif" width="100%" height="100" />              <h2  class="center"><a href="kk.htm">上市房价</a></h2>              <p> 每位评委 <a href="">【详细】</a> </p>            </div>            <hr class="clearHr" />                        <!--内容-->           </div>        </div>      </div>    </div>  </div>  <!--线框-->  <div class="titleDiv w100p">    <h1>这是标题标题</h1>  </div>  <!--线框-->  <div class="bgBox"> <span  class="corner tl"></span><span   class="corner tr"></span><span   class="corner bl"></span><span   class="corner br"></span>    <div class="sideTop">      <div class="sideBottom">        <div class="sideRight">          <div class="sideLeft">             <!--内容-->                         <img src="tpl/round.gif" width="200" height="200" style="" class="floatLeft" />            <div class="floatLeft" style="width:500px;">              <h2><a href="kk.htm">上市房价</a></h2>              <p> 每位评委 <a href="">【详细】</a> </p>              <h2><a href="kk.htm">上市房价</a></h2>              <p> 每位评委 <a href="">【详细】</a> </p>              <h2><a href="kk.htm">上市房价</a></h2>              <p> 每位评委 <a href="">【详细】</a> </p>            </div>            <hr class="clearHr" />                        <!--内容-->           </div>        </div>      </div>    </div>  </div>  <!--线框-->  <div class="titleDiv w100p">    <h1>这是标题标题</h1>  </div>  <!--线框-->  <div class="bgBox"> <span  class="corner tl"></span><span   class="corner tr"></span><span   class="corner bl"></span><span   class="corner br"></span>    <div class="sideTop">      <div class="sideBottom">        <div class="sideRight">          <div class="sideLeft">             <!--内容-->                        <div class="floatLeft wh2">              <div class="floatLeft" style="width:200px;">                <h2 class="center"><a href="">标题</a></h2>                <p> kkkkkkkkkk                  kkkkkkkkkk                  kkkkkkkkkk                  kkkkkkkkkk                  kkkkkkkkkk <a href="">【详细】</a> </p>              </div>              <img src="tpl/round.gif" width="200" height="200" class="floatRight" />              <hr class="clearHr" />              <div class="floatLeft" style="width:200px;">                <h2 class="center"><a href="">标题</a></h2>                <p> kkkkkkkkkk                  kkkkkkkkkk                  kkkkkkkkkk                  kkkkkkkkkk                  kkkkkkkkkk <a href="">【详细】</a> </p>              </div>              <img src="tpl/round.gif" width="200" height="200" class="floatRight" />              <hr class="clearHr" />            </div>            <div class="floatLeft wh2" style="margin-right:0;">              <div class="floatRight" style="width:200px;">                <h2 class="center"><a href="">标题</a></h2>                <p> kkkkkkkkkk                  kkkkkkkkkk                  kkkkkkkkkk                  kkkkkkkkkk                  kkkkkkkkkk <a href="">【详细】</a> </p>              </div>              <img src="tpl/round.gif" width="200" height="200" class="floatLeft" />              <hr class="clearHr" />              <div class="floatRight" style="width:200px;">                <h2 class="center"><a href="">标题</a></h2>                <p> kkkkkkkkkk                  kkkkkkkkkk                  kkkkkkkkkk                  kkkkkkkkkk                  kkkkkkkkkk <a href="">【详细】</a> </p>              </div>              <img src="tpl/round.gif" width="200" height="200" class="floatLeft" />              <hr class="clearHr" />            </div>            <hr class="clearHr" />                        <!--内容-->           </div>        </div>      </div>    </div>  </div>  <!--线框-->  <div class="titleDiv w100p">    <h1>这是标题标题</h1>  </div>  <!--线框-->  <div class="bgBox"> <span  class="corner tl"></span><span   class="corner tr"></span><span   class="corner bl"></span><span   class="corner br"></span>    <div class="sideTop">      <div class="sideBottom">        <div class="sideRight">          <div class="sideLeft">             <!--内容-->                         <img src="tpl/round.gif" width="200" height="200" style="" class="floatLeft" />            <div class="floatLeft" style="width:500px;">              <h2><a href="kk.htm">上市房价</a></h2>              <p> 每位评委 <a href="">【详细】</a> </p>              <h2><a href="kk.htm">上市房价</a></h2>              <p> 每位评委 <a href="">【详细】</a> </p>              <h2><a href="kk.htm">上市房价</a></h2>              <p> 每位评委 <a href="">【详细】</a> </p>              <h2><a href="kk.htm">上市房价</a></h2>              <p> 每位评委 <a href="">【详细】</a> </p>            </div>            <hr class="clearHr" />                        <!--内容-->           </div>        </div>      </div>    </div>  </div>  <!--线框-->  <div class="titleDiv w100p">    <h1>这是标题标题</h1>  </div>  <!--线框-->  <div class="bgBox"> <span  class="corner tl"></span><span   class="corner tr"></span><span   class="corner bl"></span><span   class="corner br"></span>    <div class="sideTop">      <div class="sideBottom">        <div class="sideRight">          <div class="sideLeft">             <!--内容-->                        <div class="floatLeft wh3"> <img src="tpl/round.gif" width="100%" height="100" />              <h2 class="center"><a href="kk.htm">上市房价</a></h2>              <p> 每位评委 <a href="">【详细】</a> </p>            </div>            <div class="floatLeft wh3"> <img src="tpl/round.gif" width="100%" height="100" />              <h2 class="center"><a href="kk.htm">上市房价</a></h2>              <p> 每位评委 <a href="">【详细】</a> </p>            </div>            <div class="floatLeft wh3" style="margin-right:0px;"> <img src="tpl/round.gif" width="100%" height="100" />              <h2 class="center"><a href="kk.htm">上市房价</a></h2>              <p> 每位评委 <a href="">【详细】</a> </p>            </div>            <hr class="clearHr" />                        <!--内容-->           </div>        </div>      </div>    </div>  </div>  <!--线框-->  <div class="titleDiv w100p">    <h1>结语</h1>  </div>  <!--线框-->  <div class="bgBox"> <span  class="corner tl"></span><span   class="corner tr"></span><span   class="corner bl"></span><span   class="corner br"></span>    <div class="sideTop">      <div class="sideBottom">        <div class="sideRight">          <div class="sideLeft">             <!--内容-->             编辑人员信息                         <!--内容-->           </div>        </div>      </div>    </div>  </div>  <!--线框--> </div></body></html>
Copy after login


 

round.gif

sideBottom.gif

sideLeft.gif

sideRight.gif

sideTop.gif




chrome

ff

ie6

op


 

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1664
14
PHP Tutorial
1266
29
C# Tutorial
1239
24
Understanding HTML, CSS, and JavaScript: A Beginner's Guide Understanding HTML, CSS, and JavaScript: A Beginner's Guide Apr 12, 2025 am 12:02 AM

WebdevelopmentreliesonHTML,CSS,andJavaScript:1)HTMLstructurescontent,2)CSSstylesit,and3)JavaScriptaddsinteractivity,formingthebasisofmodernwebexperiences.

HTML, CSS, and JavaScript: Essential Tools for Web Developers HTML, CSS, and JavaScript: Essential Tools for Web Developers Apr 09, 2025 am 12:12 AM

HTML, CSS and JavaScript are the three pillars of web development. 1. HTML defines the web page structure and uses tags such as, etc. 2. CSS controls the web page style, using selectors and attributes such as color, font-size, etc. 3. JavaScript realizes dynamic effects and interaction, through event monitoring and DOM operations.

HTML: The Structure, CSS: The Style, JavaScript: The Behavior HTML: The Structure, CSS: The Style, JavaScript: The Behavior Apr 18, 2025 am 12:09 AM

The roles of HTML, CSS and JavaScript in web development are: 1. HTML defines the web page structure, 2. CSS controls the web page style, and 3. JavaScript adds dynamic behavior. Together, they build the framework, aesthetics and interactivity of modern websites.

The Future of HTML, CSS, and JavaScript: Web Development Trends The Future of HTML, CSS, and JavaScript: Web Development Trends Apr 19, 2025 am 12:02 AM

The future trends of HTML are semantics and web components, the future trends of CSS are CSS-in-JS and CSSHoudini, and the future trends of JavaScript are WebAssembly and Serverless. 1. HTML semantics improve accessibility and SEO effects, and Web components improve development efficiency, but attention should be paid to browser compatibility. 2. CSS-in-JS enhances style management flexibility but may increase file size. CSSHoudini allows direct operation of CSS rendering. 3.WebAssembly optimizes browser application performance but has a steep learning curve, and Serverless simplifies development but requires optimization of cold start problems.

The Future of HTML: Evolution and Trends in Web Design The Future of HTML: Evolution and Trends in Web Design Apr 17, 2025 am 12:12 AM

The future of HTML is full of infinite possibilities. 1) New features and standards will include more semantic tags and the popularity of WebComponents. 2) The web design trend will continue to develop towards responsive and accessible design. 3) Performance optimization will improve the user experience through responsive image loading and lazy loading technologies.

HTML vs. CSS vs. JavaScript: A Comparative Overview HTML vs. CSS vs. JavaScript: A Comparative Overview Apr 16, 2025 am 12:04 AM

The roles of HTML, CSS and JavaScript in web development are: HTML is responsible for content structure, CSS is responsible for style, and JavaScript is responsible for dynamic behavior. 1. HTML defines the web page structure and content through tags to ensure semantics. 2. CSS controls the web page style through selectors and attributes to make it beautiful and easy to read. 3. JavaScript controls web page behavior through scripts to achieve dynamic and interactive functions.

HTML: Building the Structure of Web Pages HTML: Building the Structure of Web Pages Apr 14, 2025 am 12:14 AM

HTML is the cornerstone of building web page structure. 1. HTML defines the content structure and semantics, and uses, etc. tags. 2. Provide semantic markers, such as, etc., to improve SEO effect. 3. To realize user interaction through tags, pay attention to form verification. 4. Use advanced elements such as, combined with JavaScript to achieve dynamic effects. 5. Common errors include unclosed labels and unquoted attribute values, and verification tools are required. 6. Optimization strategies include reducing HTTP requests, compressing HTML, using semantic tags, etc.

The Role of HTML: Structuring Web Content The Role of HTML: Structuring Web Content Apr 11, 2025 am 12:12 AM

The role of HTML is to define the structure and content of a web page through tags and attributes. 1. HTML organizes content through tags such as , making it easy to read and understand. 2. Use semantic tags such as, etc. to enhance accessibility and SEO. 3. Optimizing HTML code can improve web page loading speed and user experience.

See all articles