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
14
Answers
Img Tag is on top fixed header
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
David Smith
11y
1.2k
1
Reply
I have a fixed static header which always visible. When I scroll down the page. The image scrolls over the fixed static header. What property will fixed this issue.
CSS:
.carouselMainImage img
{
height: 285px;
width:98%;
margin: 3px;
padding: 6px;
}
HTML:
<div id="carouselMainStoryContent" class="carouselMainStoryContent" style="">
<div id="carouselMainStoryContentHeader" class="carouselMainStoryContentHeader" style="background-color:yellow;">
<div id="carouselMainImageLeft" style="float:left;width:100%;height:300px;background-color:red;">
<a class="carouselMainImage"> <img src="images/1.jpg" alt="" /> </a>
</div> <!-- end carouselMainImageRight -->
</div>
</div> <!-- end carouselMainStoryContent -->
Post
Reset
Cancel
Answers (
14
)
Next Recommended Forum
Carousel slide show list of images - ol, li,
HTML SECTIONS CONTENT (Facebook)