我对 CSS 很陌生,我需要有关 CSS 和 DIVS 的问题的帮助。我在 div 标签中有一些 .JPG 切片,我需要它们无缝匹配,使其看起来像一个完整的文档。请看一下。
示例链接:(http://goo.gl/nmFDFB)
HTML
<section class="section_01">
<p class="section"><img src="images/lp_01.jpg" name="lp01" hspace="0" vspace="0" border="0" id="lp_01"></p>
</section>
<section class="section_02">
<p class="section"><img src="images/lp_02.jpg" name="lp02" border="0" id="lp_02"></p>
</section>
CSS
html {
background: #fff;
font-size: 100%;
ms-text-size-adjust: 100%;
webkit-text-size-adjust: 100%;
min-width: 990px;
}
html, button, input, select, textarea {
color: #000;
font-family: Open Sans, Helvetica Neue, Arial, sans-serif;
font-weight: 300;
}
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 1em;
line-height: 0;
margin: 0;
padding: 0;
padding-bottom: 0px;
}
/* base */
a {
color: #31b7fa;
}
a:hover { /* add default link :hover class here */
}
div {
top: 0px;
clip: rect(0px,auto,auto,auto);
position: absolute;
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
}
img {
border: 0;
padding: 0;
margin: 0;
width: 100%;
}
.left {
float: left;
}
.right {
float: right;
}
/* Sticky Navigation */
#sticky_navigation {
z-index:600;
position:fixed;
top:0;
margin:0;
padding:0;
background:url(../images/sticky.png) no-repeat top center;
min-width:960px;
height:105px;
width:100%
}
#sticky_navigation a {
display:block;
height:105px;
width:100%;
}