I am using bootstrap carousal and having some problem with image height and width. Even though I define it in the img attribute it still displays a
bootstrap
img
Make your image take up 100% of the container size. using height:100% and width:100%.
Then restrict the size by setting values of the container to desired size.
.item{ height:300px; width:350px; } .item img{ width:100%; height:100%; }
I hope this helps.