Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
8
Answers
HTML IMG
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
David Smith
11y
956
1
Reply
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;
}
Post
Reset
Cancel
Answers (
8
)
Next Recommended Forum
Clickable slideshow
Carousel slide show list of images - ol, li,