TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
David Smith
NA
2k
0
HTML IMG
Jul 10 2013 4:14 AM
How to make a img fit or stretch into a div. Base upon my css code below, the smaller the height, the image is being cut off
Below is my html code.
<div class="carouselMainStoryContentHeader">
<a class="carouselMainImage">
<img src="images/1.jpg" alt="" />
</a>
</div>
CSS code:
.carouselMainImage
{
height: 250px;
}
Reply
Answers (
8
)
Clickable slideshow
Carousel slide show list of images - ol, li,