मुझे चिपचिपा पाद लेख वाला एक पृष्ठ चाहिए जो स्क्रॉलबार हेडर ओवरलैप नहीं करता है, केवल शरीर। जैसे मैं this fiddle में करता हूं। लेकिन अब मैं चाहता हूं कि उस सामग्री (बिंदीदार बॉक्स) में शरीर की 100% ऊंचाई हो।100% ऊंचाई के साथ चिपचिपा पाद लेख और सामग्री
एचटीएमएल
<div class="navbar navbar-inverse navbar-fixed-top"></div>
<div class="container">
<div class="content-container">
<div class="my_content">Full height ??</div>
<div class="push"></div>
</div>
<div class="footer"></div>
</div>
सीएसएस
html,
body {
height: 100%;
overflow: hidden;
}
body {
padding-top: 50px;
}
.container {
overflow-y: auto;
overflow-x: hidden;
height: 100%;
}
.content-container {
padding-right: 15px;
padding-left: 15px;
margin-right: auto;
margin-left: auto;
position: relative;
padding-top: 15px;
padding-bottom: 15px;
min-height: 100%;
margin-bottom: -60px;
}
.footer {
position: relative;
width: 100%;
background-color: red;
}
.footer,
.push {
height: 60px;
}
.my_content {
border: 1px dotted;
width: 100%;
height: 100%;
min-height: 200px;
min-width: 300px;
}
आप चिपचिपा पाद लेख का उपयोग कर के लिए किसी अन्य टेम्पलेट का सुझाव कर सकते हैं।
scrolbar पाद किया जा रहा है जब यह – user3714967
ठीक इंतजार appers मैं इसे फिर से – RAJ
अब संपादित कर सकते हैं आप नए बेला – RAJ