javascript - bootstrap carousel not working in firefox -
in site there issue on carousel slider , it's working on chrome, not working on mozilla
my live site url is: http://www.umzug-preise.com/home
i have used code below.
<header id="mycarousel" class="carousel slide"> <!-- indicators --> <ol class="carousel-indicators"> <li data-target="#mycarousel" data-slide-to="0" class="active"></li> <li data-target="#mycarousel" data-slide-to="1"></li> <li data-target="#mycarousel" data-slide-to="2"></li> </ol> <!-- wrapper slides --> <div class="carousel-inner"> <div class="item active"> <!-- set first background image using inline css below. --> <div class="fill" style="background:url(images/slider1.jpg);"></div> </div> <div class="item"> <!-- set second background image using inline css below. --> <div class="fill" style="background:url(images/slider2.jpg);"></div> </div> <!-- <div class="item"> <div class="fill" style="background:url(images/slider1.jpg);"></div> </div>--> </div> <!-- controls --> <a class="left carousel-control" href="#mycarousel" data-slide="prev"> <span class="icon-prev"></span> </a> <a class="right carousel-control" href="#mycarousel" data-slide="next"> <span class="icon-next"></span> </a> </header>
the probleme container heights. .fill
class not have fixed height. .carousel-inner
has height: auto
getting height = 0
. not working on ie either , think luck works on chrome. need set
.carousel-inner{ height: 100%; }
Comments
Post a Comment