Twitter bootstrap 使用twitter引导旋转木马制作图像滑块

Twitter bootstrap 使用twitter引导旋转木马制作图像滑块,twitter-bootstrap,carousel,Twitter Bootstrap,Carousel,所以在这里,我尝试使用twitter引导旋转木马制作一个图像滑块,问题是,下一个,上一个,标题并不是它应该是什么样子,这是屏幕截图: 请注意,上一个和下一个图标位于左上角和右上角,而它应该位于中间,顺便说一句,下面是代码: <div id="myCarousel" class="carousel slide"> <!-- Carousel slides --> <div class="c

所以在这里,我尝试使用twitter引导旋转木马制作一个图像滑块,问题是,下一个,上一个,标题并不是它应该是什么样子,这是屏幕截图:

请注意,上一个和下一个图标位于左上角和右上角,而它应该位于中间,顺便说一句,下面是代码:

<div id="myCarousel" class="carousel slide">
                    <!-- Carousel slides -->
                    <div class="carousel-inner" width="100%" height="100%">
                        <div class="active item">
                            <img alt="" src="http://www.trexglobal.com/property-management/wp-content/uploads/2010/02/real-estate-investment-property-canada.jpg"
                                style="width: 750px; height: 300px;" />
                            <div class="carousel-caption">
                                <h4>
                                    CAPTION</h4>
                                <p>
                                    Sample Caption</p>
                            </div>
                        </div>
                        <div class="item">
                            <img alt="" src="http://news.worldwidepropertydevelopments.com/wp-content/uploads/2008/09/feature.jpg"
                                style="width: 750px; height: 300px;" />
                        </div>
                        <div class="item">
                            <img alt="" src="http://images.realestate.com/re/homepage/theme4/2.jpg" style="width: 750px;
                                height: 300px;" />
                        </div>
                    </div>
                    <!-- Carousel navigation -->
                    <a class="carousel-control left" href="#myCarousel" data-slide="prev">‹</a> <a class="carousel-control right"
                        href="#myCarousel" data-slide="next">›</a>
                </div>
我做错了什么?有什么建议吗?谢谢

哦,顺便说一下,如果有帮助的话,我使用了bootstrap v3。

找到了解决方案

只需确保位置在第一位,即:旋转木马控制之前的左侧或右侧

正确答案: 类=左转盘控件

答案不太正确: 类=左侧旋转木马控件

我还将导航代码编辑为:

<a class="left carousel-control" href="#carousel-generic" data-slide="prev"><span
   class="icon-prev"></span></a><a class="right carousel-control" href="#carousel-generic"
     data-slide="next"><span class="icon-next"></span></a>
干杯