每当我尝试移动图像时,即使我专门识别身份证,它们也会一起移动而不是单独移动。css图像一起移动而不是单独移动
body {
margin:0;
padding:0;
position:relative;
background:url(../images/imgs/backgrnd.png) no-repeat;
background-size:cover;
}
@font-face {
font-family:mainText;
src:url(../font/HelveticaNeueLTPro-UltLtEx.otf);
}
#holder {
background:url(../images/imgs/rectangle%20and%20letters.png) no-repeat;
width:500px;
height:600px;
position:relative;
margin-left:auto;
margin-right:auto;
margin-top:11.2em;
}
ul {
list-style:none;
list-type:none;
padding:0;
margin:0;
}
#nextarrow {
margin-left:350px;
}
<section id="cont"> <!-- main content wrapper -->
<div id="holder">
<ul id="imagelist"> <!-- image cycle: prev/next -->
<li><img src="images/imgs/iPhone.png" width="256" height="256" border="0"></li>
<li><img src="images/imgs/websitesimg.png" width="289" height="187" border="0"></li>
</ul>
</div>
</section>
<div id="arrows">
<img src="images/imgs/rightarrow.png" id="nextarrow" width="15" height="130" alt="ja" />
<img src="images/imgs/leftarrow.png" id="prevarrow" width="15" height="130" alt="la" />
</div>
内DIV ID =“箭头”的图像是什么,我试图移动,即使我指定#nextarrow {它是由两种标识移动整个我只想一次移动一个图像或使用第一/最后一个子
我认为你需要切换图像,所以左是先,然后是右。这里是一个jsfiddle解释我的意思:http://jsfiddle.net/HdA24/1/请告诉我,如果这个工程!我有兴趣知道! – BuddhistBeast