Posted By admin
Responsive List groups for ratings
Demo

@maridlcrmn http://bootsnipp.com/mouse0… – should fix the issues with Firefox and webkit browsers. I also removed the need for setting minimum height by adding ‘class=”clearfix”‘ to the bottom of each element, they should be the exact size they need to be.,I guess from what I’ve read, this is a specific bug with Firefox interacting w/ bootstrap. You can add col-xs-12 to the img class or make your own class to give the image 100% width (that’s the property it’s missing supposedly, it only has max-width: 100%). However, having either of these added to fix it by default seems to disturb the display in Chrome. What you could do (there might be an alternative or an easier way) is use javascript to add on the width attribute to the images if it detects Firefox as the browser.,This bit of code should work. Be aware that this will add it to all images on the page (made it trying to get this to display properly) – if you want to add it to specific images you might give them an empty class or something and use getElementsByClassName instead of TagName.,$(window).load(function() { if(navigator.userAgent.toLowerCase().indexOf(‘firefox’) > -1) { var imgList = document.getElementsByTagName(“img”); for (var i = 0; i < imgList.length; i++) { imgList[i].style.width = “100%”; } }});,This loads all of the images into an array and loops until they are all appended (if Firefox is detected, otherwise nothing will change). Anyone who wants to add onto or offer an alternative solution, feel free,Looks great in Webkit Browsers. But very messed up in FireFox.,In FF looks bad.,The author is maridlcrmn

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Related Snippets

Leave a comment

Your email address will not be published. Required fields are marked *